mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-04-17 07:33:23 +12:00
Remove most static wram addresses. Use labels instead.
For unknown addresses, use "w<address>". Label overleads are still an issue.
This commit is contained in:
parent
52ba96f5f4
commit
40c17c906b
290 changed files with 8262 additions and 7759 deletions
|
|
@ -3,8 +3,8 @@ DisplayDiploma: ; 566e2 (15:66e2)
|
|||
call GBPalWhiteOutWithDelay3
|
||||
call ClearScreen
|
||||
xor a
|
||||
ld [$cfcb], a
|
||||
ld hl, $d730
|
||||
ld [wcfcb], a
|
||||
ld hl, wd730
|
||||
set 6, [hl]
|
||||
call DisableLCD
|
||||
ld hl, CircleTile ; $7d88
|
||||
|
|
@ -34,12 +34,12 @@ DisplayDiploma: ; 566e2 (15:66e2)
|
|||
pop bc
|
||||
dec c
|
||||
jr nz, .asm_56715 ; 0x56725 $ee
|
||||
FuncCoord 10, 4 ; $c3fa
|
||||
FuncCoord 10, 4
|
||||
ld hl, Coord
|
||||
ld de, W_PLAYERNAME
|
||||
call PlaceString
|
||||
callba Func_44dd
|
||||
ld hl, $c301
|
||||
ld hl, wOAMBuffer + $01
|
||||
ld bc, $8028
|
||||
.asm_5673e
|
||||
ld a, [hl]
|
||||
|
|
@ -60,7 +60,7 @@ DisplayDiploma: ; 566e2 (15:66e2)
|
|||
ld a, $90
|
||||
ld [$ff48], a
|
||||
call WaitForTextScrollButtonPress
|
||||
ld hl, $d730
|
||||
ld hl, wd730
|
||||
res 6, [hl]
|
||||
call GBPalWhiteOutWithDelay3
|
||||
call Func_3dbe
|
||||
|
|
@ -79,15 +79,15 @@ Func_56777: ; 56777 (15:6777)
|
|||
|
||||
DiplomaTextPointersAndCoords: ; 56784 (15:6784)
|
||||
dw DiplomaText
|
||||
dw $c3cd
|
||||
dw wTileMap + $2d
|
||||
dw DiplomaPlayer
|
||||
dw $c3f3
|
||||
dw wTileMap + $53
|
||||
dw DiplomaEmptyText
|
||||
dw $c3ff
|
||||
dw wTileMap + $5f
|
||||
dw DiplomaCongrats
|
||||
dw $c41a
|
||||
dw wTileMap + $7a
|
||||
dw DiplomaGameFreak
|
||||
dw $c4e9
|
||||
dw wTileMap + $149
|
||||
|
||||
DiplomaText:
|
||||
db $70,"Diploma",$70,"@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue