mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 06:58:24 +00:00
21 lines
353 B
NASM
21 lines
353 B
NASM
BookOrSculptureText::
|
|
text_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:
|
|
text_far _PokemonBooksText
|
|
text_end
|
|
|
|
DiglettSculptureText:
|
|
text_far _DiglettSculptureText
|
|
text_end
|