mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm (#251)
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
This commit is contained in:
parent
ff927ba730
commit
4b853ad676
317 changed files with 2290 additions and 2240 deletions
|
|
@ -1,4 +1,4 @@
|
|||
EnterMapAnim:
|
||||
EnterMapAnim::
|
||||
call InitFacingDirectionList
|
||||
ld a, $ec
|
||||
ld [wSpriteStateData1 + 4], a ; player's sprite Y screen position
|
||||
|
|
@ -90,7 +90,7 @@ PlayerSpinWhileMovingDown:
|
|||
ld [hl], a ; wPlayerSpinWhileMovingUpOrDownAnimFrameDelay
|
||||
jp PlayerSpinWhileMovingUpOrDown
|
||||
|
||||
_LeaveMapAnim:
|
||||
_LeaveMapAnim::
|
||||
call InitFacingDirectionList
|
||||
call IsPlayerStandingOnWarpPadOrHole
|
||||
ld a, b
|
||||
|
|
@ -347,7 +347,7 @@ GetPlayerTeleportAnimFrameDelay:
|
|||
inc a
|
||||
ret
|
||||
|
||||
IsPlayerStandingOnWarpPadOrHole:
|
||||
IsPlayerStandingOnWarpPadOrHole::
|
||||
ld b, 0
|
||||
ld hl, WarpPadAndHoleData
|
||||
ld a, [wCurMapTileset]
|
||||
|
|
@ -496,7 +496,7 @@ RedFishingTiles:
|
|||
db 3, BANK(RedFishingRodTiles)
|
||||
dw vNPCSprites2 + $7d0
|
||||
|
||||
_HandleMidJump:
|
||||
_HandleMidJump::
|
||||
ld a, [wPlayerJumpingYScreenCoordsIndex]
|
||||
ld c, a
|
||||
inc a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue