aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/book_or_sculpture.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 15:57:35 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 15:57:35 -0400
commitccb01731fe8cd44ae4c8840ee8ddc02e6bdea97e (patch)
treef74ebc68abb065e651af6c2ecbd701a1a9e25b02 /engine/events/hidden_objects/book_or_sculpture.asm
parentSimplify map connections (diff)
downloadpokeyellow-ccb01731fe8cd44ae4c8840ee8ddc02e6bdea97e.tar.gz
pokeyellow-ccb01731fe8cd44ae4c8840ee8ddc02e6bdea97e.tar.xz
pokeyellow-ccb01731fe8cd44ae4c8840ee8ddc02e6bdea97e.zip
Make suggested edits:
- data/mapWilds -> data/wild/maps - diglett_sculpture.asm -> book_or_sculpture.asm - relocate some audio/music constants
Diffstat (limited to 'engine/events/hidden_objects/book_or_sculpture.asm')
-rw-r--r--engine/events/hidden_objects/book_or_sculpture.asm21
1 files changed, 21 insertions, 0 deletions
diff --git a/engine/events/hidden_objects/book_or_sculpture.asm b/engine/events/hidden_objects/book_or_sculpture.asm
new file mode 100644
index 00000000..2d6f278a
--- /dev/null
+++ b/engine/events/hidden_objects/book_or_sculpture.asm
@@ -0,0 +1,21 @@
+BookOrSculptureText::
+ TX_ASM
+ ld hl, PokemonBooksText
+ ld a, [wCurMapTileset]
+ cp MANSION ; Celadon Mansion tileset
+ jr nz, .ok
+ aCoord 8, 6
+ cp $38
+ jr nz, .ok
+ ld hl, DiglettSculptureText
+.ok
+ call PrintText
+ jp TextScriptEnd
+
+PokemonBooksText:
+ TX_FAR _PokemonBooksText
+ db "@"
+
+DiglettSculptureText:
+ TX_FAR _DiglettSculptureText
+ db "@"