aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/route_15_binoculars.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 13:23:51 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 13:23:51 -0400
commite882708b85e19cf30e05fcf31ccedc5f03367702 (patch)
tree05d84be6cc3b04ccabdc4071f601a9761e845775 /engine/events/hidden_objects/route_15_binoculars.asm
parentReorganize home header (diff)
downloadpokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.tar.gz
pokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.tar.xz
pokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.zip
Split up engine/events/hidden_object_functions
Diffstat (limited to 'engine/events/hidden_objects/route_15_binoculars.asm')
-rw-r--r--engine/events/hidden_objects/route_15_binoculars.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/events/hidden_objects/route_15_binoculars.asm b/engine/events/hidden_objects/route_15_binoculars.asm
new file mode 100644
index 00000000..b380bb33
--- /dev/null
+++ b/engine/events/hidden_objects/route_15_binoculars.asm
@@ -0,0 +1,14 @@
+Route15GateLeftBinoculars:
+ ld a, [wSpriteStateData1 + 9]
+ cp SPRITE_FACING_UP
+ ret nz
+ call EnableAutoTextBoxDrawing
+ tx_pre Route15UpstairsBinocularsText
+ ld a, ARTICUNO
+ ld [wcf91], a
+ call PlayCry
+ jp DisplayMonFrontSpriteInBox
+
+Route15UpstairsBinocularsText::
+ TX_FAR _Route15UpstairsBinocularsText
+ db "@"