More map object, swap StandingTile and NextTile

This commit is contained in:
PikalaxALT
2015-11-14 23:02:38 -05:00
parent ed44de4bb4
commit b921226aea
14 changed files with 450 additions and 432 deletions

View File

@@ -80,14 +80,14 @@ DoesSpriteHaveFacings:: ; 1836
Function184a:: ; 184a
ld a, [PlayerStandingTile]
ld a, [PlayerNextTile]
call GetTileCollision
ld b, a
ret
; 1852
CheckOnWater:: ; 1852
ld a, [PlayerStandingTile]
ld a, [PlayerNextTile]
call GetTileCollision
sub 1
ret z
@@ -211,7 +211,7 @@ CheckWaterfallTile:: ; 18bd
; 18c3
CheckStandingOnEntrance:: ; 18c3
ld a, [PlayerStandingTile]
ld a, [PlayerNextTile]
cp $71 ; door
ret z
cp $79
@@ -447,7 +447,7 @@ LoadMovementDataPointer:: ; 19e9
add hl, bc
ld [hl], SPRITEMOVEDATA_SCRIPTED
ld hl, OBJECT_09
ld hl, OBJECT_STEP_TYPE
add hl, bc
ld [hl], 0