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

@@ -35,7 +35,7 @@ LinkItem_NewBottle:
RTS
}
warnpc $07A249
assert pc() <= $07A249
pullpc

View File

@@ -50,7 +50,7 @@ LinkItem_FishingRodAndPortalRod:
RTS
}
warnpc $07AFB4
assert pc() <= $07AFB4
pullpc
@@ -198,7 +198,7 @@ Prizes:
db $D8, $D2, $D2, $D2, $D9, $DA, $DB, $DC, $DF, $E0, $E1, $D9, $D9, $DA, $D9, $DA
;warnpc $07A64A
;assert pc() <= $07A64A
fishingrodgfx:

View File

@@ -82,7 +82,7 @@ CheckForBallChain:
pushpc
org $08BF2D
JSL BallChain_DrawOrReturn
warnpc $08BF32
assert pc() <= $08BF32
pullpc
; $22D4C0 - Hooked into AncillaDraw_Hookshot @ _08BF2D

View File

@@ -23,7 +23,7 @@ org $07AFF8 ; LinkItem_BugCatchingNet
org $07D242
JSL CheckIfJumpingForSpikeDamage
NOP #2
warnpc $07D248
assert pc() <= $07D248
; =========================================================

View File

@@ -85,7 +85,7 @@ Song_of_Storms:
db $00 ; end sfx
}
; warnpc $1A8FD4
; assert pc() <= $1A8FD4
; A, D, F, A, D, F
; SFX3_27 Agahnim charge
@@ -121,7 +121,7 @@ Song_of_Time:
db $00 ; end sfx
}
warnpc $1A922B
assert pc() <= $1A922B
; =========================================================
@@ -485,4 +485,4 @@ RainAnimation_Overridden:
RTL
}
warnpc $02A52D
assert pc() <= $02A52D

View File

@@ -42,7 +42,7 @@ LinkItem_PortalRod:
RTS
}
warnpc $07A568
assert pc() <= $07A568
; Ancilla_CheckSpriteCollision
org $088DC3