replace warnpc with assert pc <=

This commit is contained in:
scawful
2024-09-18 18:21:55 -04:00
parent 5c98331ddf
commit db9f28bf2a
28 changed files with 120 additions and 119 deletions

View File

@@ -572,7 +572,7 @@ Lanmola_DrawMound:
; ==============================================================================
warnpc $05A880
assert pc() <= $05A880
; ==============================================================================
org $1DCFCB
@@ -632,4 +632,4 @@ Sprite_Shrapnel:
; ==============================================================================
warnpc $1DD02A
assert pc() <= $1DD02A

View File

@@ -1164,7 +1164,7 @@ Follower_BasicMover:
LDA.b #$15 : STA.w $012C
RTS
warnpc $09A23A
assert pc() <= $09A23A
org $09A23A
.no_blind_transform
@@ -1260,7 +1260,7 @@ Blind_SpawnFromMaiden:
RTL
}
warnpc $1DA081
assert pc() <= $1DA081
; =========================================================
; We are using space from this function to insert the
@@ -1303,7 +1303,7 @@ SpritePrep_Blind_PrepareBattle:
RTL
}
warnpc $1DA0B1
assert pc() <= $1DA0B1
org $01B3E1
RoomDraw_BombableFloor: