mirror of
https://github.com/pret/pokeyellow.git
synced 2026-08-06 12:33:21 -05: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
|