mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Labelled many functions/variables
This commit is contained in:
parent
c9946975d4
commit
59f0507e4c
49 changed files with 2474 additions and 2232 deletions
|
|
@ -25,7 +25,7 @@ rLCDC_DEFAULT EQU %11100011
|
|||
ld [rIE], a
|
||||
ld [$ff43], a
|
||||
ld [$ff42], a
|
||||
ld [$ff01], a
|
||||
ld [rSB], a
|
||||
ld [$ff02], a
|
||||
ld [$ff4b], a
|
||||
ld [$ff4a], a
|
||||
|
|
@ -74,7 +74,7 @@ rLCDC_DEFAULT EQU %11100011
|
|||
ld [rIE], a
|
||||
|
||||
ld a, 144 ; move the window off-screen
|
||||
ld [$ffb0], a
|
||||
ld [hVBlankWY], a
|
||||
ld [rWY], a
|
||||
ld a, 7
|
||||
ld [rWX], a
|
||||
|
|
|
|||
|
|
@ -766,7 +766,7 @@ HandleFlyOrTeleportAway::
|
|||
call UpdateSprites
|
||||
call Delay3
|
||||
xor a
|
||||
ld [wcf0b], a
|
||||
ld [wBattleResult], a
|
||||
ld [wd700], a
|
||||
ld [W_ISINBATTLE], a
|
||||
ld [wd35d], a
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ VBlank::
|
|||
ld a, [H_LOADEDROMBANK]
|
||||
ld [wd122], a
|
||||
|
||||
ld a, [$ffae]
|
||||
ld a, [hVBlankSCX]
|
||||
ld [rSCX], a
|
||||
ld a, [$ffaf]
|
||||
ld a, [hVBlankSCY]
|
||||
ld [rSCY], a
|
||||
|
||||
ld a, [wd0a0]
|
||||
and a
|
||||
jr nz, .ok
|
||||
ld a, [$ffb0]
|
||||
ld a, [hVBlankWY]
|
||||
ld [rWY], a
|
||||
.ok
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue