pokecrystal-board/engine/events/print_photo.asm
mid-kid 940256569b text_jump → text_far
The previous name for this was rather misleading. It isn't an actual
jump like you'd expect the `jp` instruction to behave as. Instead, it
behaves more like a `farcall`.
This also makes it consistent with its current command ID name of
`TX_FAR`.
2018-11-05 22:26:18 +01:00

56 lines
918 B
NASM

PhotoStudio:
ld hl, .Text_AskWhichMon
call PrintText
farcall SelectMonFromParty
jr c, .cancel
ld a, [wCurPartySpecies]
cp EGG
jr z, .egg
ld hl, .Text_HoldStill
call PrintText
call DisableSpriteUpdates
farcall PrintPartymon
call ReturnToMapWithSpeechTextbox
ldh a, [hPrinter]
and a
jr nz, .cancel
ld hl, .Text_Presto
jr .print_text
.cancel
ld hl, .Text_NoPicture
jr .print_text
.egg
ld hl, .Text_Egg
.print_text
call PrintText
ret
.Text_AskWhichMon:
; Which #MON should I photo- graph?
text_far UnknownText_0x1be024
db "@"
.Text_HoldStill:
; All righty. Hold still for a bit.
text_far UnknownText_0x1be047
db "@"
.Text_Presto:
; Presto! All done. Come again, OK?
text_far UnknownText_0x1be06a
db "@"
.Text_NoPicture:
; Oh, no picture? Come again, OK?
text_far UnknownText_0x1c0000
db "@"
.Text_Egg:
; An EGG? My talent is worth more…
text_far UnknownText_0x1c0021
db "@"