pokecrystal-board/engine/events/print_photo.asm

56 lines
923 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
PhotoStudio:
ld hl, .Text_AskWhichMon
call PrintText
2017-12-24 09:47:30 -08:00
farcall SelectMonFromParty
jr c, .cancel
2018-01-23 14:39:09 -08:00
ld a, [wCurPartySpecies]
cp EGG
jr z, .egg
ld hl, .Text_HoldStill
call PrintText
call DisableSpriteUpdates
2017-12-24 09:47:30 -08:00
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_jump UnknownText_0x1be024
db "@"
.Text_HoldStill:
; All righty. Hold still for a bit.
text_jump UnknownText_0x1be047
db "@"
.Text_Presto:
; Presto! All done. Come again, OK?
text_jump UnknownText_0x1be06a
db "@"
.Text_NoPicture:
; Oh, no picture? Come again, OK?
text_jump UnknownText_0x1c0000
db "@"
.Text_Egg:
; An EGG? My talent is worth more…
text_jump UnknownText_0x1c0021
db "@"