diff options
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 103 |
1 files changed, 1 insertions, 102 deletions
@@ -1718,109 +1718,8 @@ Function378b:: ; 378b ret ; 37b6 -Function37b6:: ; 37b6 - push af - ld a, $1 - ld [$c2bc], a - pop af - call Function37e2 - call WaitSFX - ret -; 37c4 - -Function37c4:: ; 37c4 - push af - ld a, $1 - ld [$c2bc], a - pop af - jp Function37e2 -; 37ce -Function37ce:: ; 37ce - call Function37d5 - call WaitSFX - ret -; 37d5 - -Function37d5:: ; 37d5 - push af - xor a - ld [$c2bc], a - ld [CryTracks], a - pop af - call Function37e2 - ret -; 37e2 - -Function37e2:: ; 37e2 - push hl - push de - push bc - - call Function381e - jr c, .asm_37ef - ld e, c - ld d, b - call PlayCryHeader -.asm_37ef - - pop bc - pop de - pop hl - ret -; 37f3 - -Function37f3:: ; 37f3 - call Function381e - ret c - ld a, [hROMBank] - push af - ld a, BANK(CryHeaders) - rst Bankswitch - - ld hl, CryHeaders - add hl, bc - add hl, bc - add hl, bc - add hl, bc - add hl, bc - add hl, bc - - ld e, [hl] - inc hl - ld d, [hl] - inc hl - ld a, [hli] - ld [CryPitch], a - ld a, [hli] - ld [CryEcho], a - ld a, [hli] - ld [CryLength], a - ld a, [hl] - ld [CryLength + 1], a - - pop af - rst Bankswitch - and a - ret -; 381e - -Function381e:: ; 381e - and a - jr z, .asm_382b - cp NUM_POKEMON + 1 - jr nc, .asm_382b - - dec a - ld c, a - ld b, 0 - and a - ret - -.asm_382b - scf - ret -; 382d +INCLUDE "home/cry.asm" PrintLevel:: ; 382d |