mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 16:45:24 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
50
engine/events/print_photo.asm
Normal file
50
engine/events/print_photo.asm
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
PhotoStudio:
|
||||
ld hl, .WhichMonPhotoText
|
||||
call PrintText
|
||||
farcall SelectMonFromParty
|
||||
jr c, .cancel
|
||||
ld a, [wCurPartySpecies]
|
||||
cp EGG
|
||||
jr z, .egg
|
||||
|
||||
ld hl, .HoldStillText
|
||||
call PrintText
|
||||
call DisableSpriteUpdates
|
||||
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 PrintText
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue