mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
12 lines
270 B
NASM
12 lines
270 B
NASM
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
|