Bill's PC

This commit is contained in:
PikalaxALT
2015-12-16 12:32:08 -05:00
parent 77ef8404a1
commit 879b430fce
6 changed files with 724 additions and 764 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -706,12 +706,12 @@ _ExitMenu:: ; 243e8
call PopWindow
ld a, [wMenuFlags]
bit 0, a
jr z, .next
jr z, .loop
ld d, h
ld e, l
call RestoreTileBackup
.next
.loop
call GetWindowStackTop
ld a, h
or l
@@ -727,6 +727,7 @@ _ExitMenu:: ; 243e8
; 24423
Function24423: ; 24423
; Unreferenced
ld a, [VramState]
bit 0, a
ret z
@@ -743,19 +744,18 @@ Function24423: ; 24423
ld hl, sScratch
decoord 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
.asm_2444c
.loop
ld a, [hl]
cp $61
jr c, .asm_24452
jr c, .next
ld [de], a
.asm_24452
.next
inc hl
inc de
dec bc
ld a, c
or b
jr nz, .asm_2444c
jr nz, .loop
call CloseSRAM
ret
; 2445d

View File

@@ -220,10 +220,10 @@ Function4ddf2: ; 4ddf2 (13:5df2)
ld a, [MonType]
cp BREEDMON
jr nz, .asm_4de10
ld a, [wd018_Mon]
ld a, [wBufferMon]
ld [CurSpecies], a
call GetBaseData
ld hl, wd018_Mon
ld hl, wBufferMon
ld de, TempMon
ld bc, PARTYMON_STRUCT_LENGTH
call CopyBytes
@@ -236,7 +236,7 @@ Function4ddf2: ; 4ddf2 (13:5df2)
ld a, [MonType]
cp BOXMON
jr c, .asm_4de2a
callba Function50890
callba CalcTempmonStats
.asm_4de2a
and a
ret
@@ -249,7 +249,7 @@ Function4de2c: ; 4de2c (13:5e2c)
push hl
push de
push bc
callba Functione2f95
callba StatsScreenDPad
pop bc
pop de
pop hl