mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-07 22:20:58 +13:00
12 lines
253 B
NASM
12 lines
253 B
NASM
OpenPokemonCenterPC:
|
|
ld a, [wSpritePlayerStateData1FacingDirection]
|
|
cp SPRITE_FACING_UP
|
|
ret nz
|
|
call EnableAutoTextBoxDrawing
|
|
ld a, $1
|
|
ld [wAutoTextBoxDrawingControl], a
|
|
tx_pre_jump PokemonCenterPCText
|
|
|
|
PokemonCenterPCText::
|
|
script_pokecenter_pc
|