ref: 7cc1b301ab1cd62b4f4e2f7f24eb5d6011ff088b
parent: 41402c39f163574d248e5acff4f8638a5e88a688
author: yenatch <[email protected]>
date: Fri Feb 6 08:37:27 EST 2015
Fix static predefs generated by the disassembler.
--- a/main.asm
+++ b/main.asm
@@ -112940,15 +112940,13 @@
Function108201: ; 108201
push de
push af
- ld a, $2d
- call Predef
+ predef GetUnownLetter
pop af
ld [CurPartySpecies], a
ld [CurSpecies], a
call GetBaseData
pop de
- ld a, $3e
- call Predef
+ predef Function5108b
ret
; 108219
@@ -112957,8 +112955,7 @@
ld hl, $c4cf
ld d, $0
ld e, $3
- ld a, $47
- call Predef
+ predef Functiond008e
ret
; 108229
@@ -112967,8 +112964,7 @@
ld hl, $c4cf
ld d, $0
ld e, $3
- ld a, $46
- call Predef
+ predef Functiond00a3
ret
; 108239
@@ -113881,8 +113877,7 @@
xor a
ld [$ffad], a
ld bc, $0707
- ld a, $13
- call Predef
+ predef FillBox
call WaitBGMap
ret
; 10898a
@@ -113896,8 +113891,7 @@
xor a
ld [$ffad], a
ld bc, $0707
- ld a, $13
- call Predef
+ predef FillBox
call WaitBGMap
ret
; 1089a8
@@ -130613,8 +130607,7 @@
pop de
push de
ld b, $1
- ld a, $c
- call Predef
+ predef Functione167
pop de
ld h, d
ld l, e
@@ -136868,8 +136861,7 @@
callba Functionc658
call Function1702b7
call Function170bf7
- ld a, $16
- call Predef
+ predef StartBattle
callba Function1500c
callba Functionc658
ld a, [$d0ee]
@@ -137094,8 +137086,7 @@
ld hl, $000a
add hl, bc
ld b, $1
- ld a, $c
- call Predef
+ predef Functione167
pop de
pop hl
dec de
@@ -140516,8 +140507,7 @@
ld de, TileMap
add hl, de
ld bc, $0707
- ld a, $13
- call Predef
+ predef FillBox
pop af
ld [rSVBK], a
call Function17e349
@@ -141319,8 +141309,7 @@
ld [MonType], a
push hl
push bc
- ld a, $6
- call Predef
+ predef Functiond88c
callba Function4db49
pop bc
pop hl
@@ -141491,8 +141480,7 @@
ld d, h
ld e, l
pop hl
- ld a, $5
- call Predef
+ predef FillPP
pop hl
pop bc
jp asm_17e0ee
@@ -141606,8 +141594,7 @@
push hl
ld hl, sBoxMon1Moves
ld de, sBoxMon1PP
- ld a, $5
- call Predef
+ predef FillPP
call CloseSRAM
pop hl
pop bc