diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 15:57:35 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 15:57:35 -0400 |
| commit | ccb01731fe8cd44ae4c8840ee8ddc02e6bdea97e (patch) | |
| tree | f74ebc68abb065e651af6c2ecbd701a1a9e25b02 /engine/events/hidden_objects/book_or_sculpture.asm | |
| parent | Simplify map connections (diff) | |
| download | pokeyellow-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.asm | 21 |
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 "@" |
