pokeyellow/engine/events/hidden_events/route_15_binoculars.asm
dannye bc2354dd66
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
Merge branch 'master' of https://github.com/pret/pokered
2026-01-17 22:38:33 -06:00

18 lines
391 B
NASM

Route15GateLeftBinoculars:
ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
tx_pre Route15UpstairsBinocularsText
ld a, ARTICUNO
ld [wCurPartySpecies], a
call PlayCry
call DisplayMonFrontSpriteInBox
xor a
ldh [hAutoBGTransferEnabled], a
ret
Route15UpstairsBinocularsText::
text_far _Route15UpstairsBinocularsText
text_end