mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Split up engine/events/hidden_object_functions
This commit is contained in:
parent
6bd86e10c3
commit
e882708b85
29 changed files with 1174 additions and 1173 deletions
11
engine/events/hidden_objects/pokecenter_pc.asm
Normal file
11
engine/events/hidden_objects/pokecenter_pc.asm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
OpenPokemonCenterPC:
|
||||
ld a, [wSpriteStateData1 + 9]
|
||||
cp SPRITE_FACING_UP ; check to see if player is facing up
|
||||
ret nz
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, $1
|
||||
ld [wAutoTextBoxDrawingControl], a
|
||||
tx_pre_jump PokemonCenterPCText
|
||||
|
||||
PokemonCenterPCText::
|
||||
TX_POKECENTER_PC
|
||||
Loading…
Add table
Add a link
Reference in a new issue