pokecrystal-board/engine/events/print_photo.asm

51 lines
745 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
PhotoStudio:
ld hl, .WhichMonPhotoText
call PrintText2bpp
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, .HoldStillText
call PrintText2bpp
call DisableSpriteUpdates
2017-12-24 09:47:30 -08:00
farcall PrintPartymon
call ReturnToMapWithSpeechTextbox
ldh a, [hPrinter]
and a
jr nz, .cancel
ld hl, .PrestoAllDoneText
jr .print_text
.cancel
ld hl, .NoPhotoText
jr .print_text
.egg
ld hl, .EggPhotoText
.print_text
call PrintText2bpp
ret
.WhichMonPhotoText:
text_far _WhichMonPhotoText
text_end
.HoldStillText:
text_far _HoldStillText
text_end
.PrestoAllDoneText:
text_far _PrestoAllDoneText
text_end
.NoPhotoText:
text_far _NoPhotoText
text_end
.EggPhotoText:
text_far _EggPhotoText
text_end