You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fix static predefs generated by the disassembler.
This commit is contained in:
39
main.asm
39
main.asm
@@ -112940,15 +112940,13 @@ Function1081e9: ; 1081e9
|
|||||||
Function108201: ; 108201
|
Function108201: ; 108201
|
||||||
push de
|
push de
|
||||||
push af
|
push af
|
||||||
ld a, $2d
|
predef GetUnownLetter
|
||||||
call Predef
|
|
||||||
pop af
|
pop af
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
pop de
|
pop de
|
||||||
ld a, $3e
|
predef Function5108b
|
||||||
call Predef
|
|
||||||
ret
|
ret
|
||||||
; 108219
|
; 108219
|
||||||
|
|
||||||
@@ -112957,8 +112955,7 @@ Function108219: ; 108219
|
|||||||
ld hl, $c4cf
|
ld hl, $c4cf
|
||||||
ld d, $0
|
ld d, $0
|
||||||
ld e, $3
|
ld e, $3
|
||||||
ld a, $47
|
predef Functiond008e
|
||||||
call Predef
|
|
||||||
ret
|
ret
|
||||||
; 108229
|
; 108229
|
||||||
|
|
||||||
@@ -112967,8 +112964,7 @@ Function108229: ; 108229
|
|||||||
ld hl, $c4cf
|
ld hl, $c4cf
|
||||||
ld d, $0
|
ld d, $0
|
||||||
ld e, $3
|
ld e, $3
|
||||||
ld a, $46
|
predef Functiond00a3
|
||||||
call Predef
|
|
||||||
ret
|
ret
|
||||||
; 108239
|
; 108239
|
||||||
|
|
||||||
@@ -113881,8 +113877,7 @@ asm_108966
|
|||||||
xor a
|
xor a
|
||||||
ld [$ffad], a
|
ld [$ffad], a
|
||||||
ld bc, $0707
|
ld bc, $0707
|
||||||
ld a, $13
|
predef FillBox
|
||||||
call Predef
|
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ret
|
ret
|
||||||
; 10898a
|
; 10898a
|
||||||
@@ -113896,8 +113891,7 @@ Function10898a: ; 10898a
|
|||||||
xor a
|
xor a
|
||||||
ld [$ffad], a
|
ld [$ffad], a
|
||||||
ld bc, $0707
|
ld bc, $0707
|
||||||
ld a, $13
|
predef FillBox
|
||||||
call Predef
|
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ret
|
ret
|
||||||
; 1089a8
|
; 1089a8
|
||||||
@@ -130613,8 +130607,7 @@ Function11b483: ; 11b483
|
|||||||
pop de
|
pop de
|
||||||
push de
|
push de
|
||||||
ld b, $1
|
ld b, $1
|
||||||
ld a, $c
|
predef Functione167
|
||||||
call Predef
|
|
||||||
pop de
|
pop de
|
||||||
ld h, d
|
ld h, d
|
||||||
ld l, e
|
ld l, e
|
||||||
@@ -136868,8 +136861,7 @@ Function17024d: ; 17024d
|
|||||||
callba Functionc658
|
callba Functionc658
|
||||||
call Function1702b7
|
call Function1702b7
|
||||||
call Function170bf7
|
call Function170bf7
|
||||||
ld a, $16
|
predef StartBattle
|
||||||
call Predef
|
|
||||||
callba Function1500c
|
callba Function1500c
|
||||||
callba Functionc658
|
callba Functionc658
|
||||||
ld a, [$d0ee]
|
ld a, [$d0ee]
|
||||||
@@ -137094,8 +137086,7 @@ Function170394: ; 170394
|
|||||||
ld hl, $000a
|
ld hl, $000a
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, $1
|
ld b, $1
|
||||||
ld a, $c
|
predef Functione167
|
||||||
call Predef
|
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
dec de
|
dec de
|
||||||
@@ -140516,8 +140507,7 @@ Function17d98b: ; 17d98b
|
|||||||
ld de, TileMap
|
ld de, TileMap
|
||||||
add hl, de
|
add hl, de
|
||||||
ld bc, $0707
|
ld bc, $0707
|
||||||
ld a, $13
|
predef FillBox
|
||||||
call Predef
|
|
||||||
pop af
|
pop af
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
call Function17e349
|
call Function17e349
|
||||||
@@ -141319,8 +141309,7 @@ Function17ded9: ; 17ded9
|
|||||||
ld [MonType], a
|
ld [MonType], a
|
||||||
push hl
|
push hl
|
||||||
push bc
|
push bc
|
||||||
ld a, $6
|
predef Functiond88c
|
||||||
call Predef
|
|
||||||
callba Function4db49
|
callba Function4db49
|
||||||
pop bc
|
pop bc
|
||||||
pop hl
|
pop hl
|
||||||
@@ -141491,8 +141480,7 @@ Function17ded9: ; 17ded9
|
|||||||
ld d, h
|
ld d, h
|
||||||
ld e, l
|
ld e, l
|
||||||
pop hl
|
pop hl
|
||||||
ld a, $5
|
predef FillPP
|
||||||
call Predef
|
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
jp asm_17e0ee
|
jp asm_17e0ee
|
||||||
@@ -141606,8 +141594,7 @@ Function17e026: ; 17e026
|
|||||||
push hl
|
push hl
|
||||||
ld hl, sBoxMon1Moves
|
ld hl, sBoxMon1Moves
|
||||||
ld de, sBoxMon1PP
|
ld de, sBoxMon1PP
|
||||||
ld a, $5
|
predef FillPP
|
||||||
call Predef
|
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
|
Reference in New Issue
Block a user