mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-10-17 04:26:28 +13:00
12 lines
255 B
NASM
12 lines
255 B
NASM
OpenPokemonCenterPC:
|
|
ld a, [wSpritePlayerStateData1FacingDirection]
|
|
cp SPRITE_FACING_UP
|
|
ret nz
|
|
call EnableAutoTextBoxDrawing
|
|
ld a, TRUE
|
|
ld [wAutoTextBoxDrawingControl], a
|
|
tx_pre_jump PokemonCenterPCText
|
|
|
|
PokemonCenterPCText::
|
|
script_pokecenter_pc
|