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

@@ -125,4 +125,4 @@ LinkItem_Ether:
RTS
}
warnpc $07A4F6
assert pc() <= $07A4F6

View File

@@ -52,7 +52,7 @@ LinkItem_DekuMask:
RTS
}
warnpc $07A6BE
assert pc() <= $07A6BE
; =========================================================
@@ -143,7 +143,7 @@ LinkState_UsingQuake:
RTS
}
warnpc $07A779
assert pc() <= $07A779
; LinkHop_FindArbitraryLandingSpot
; Allow LinkState 0x0A to use velocity

View File

@@ -1324,7 +1324,7 @@ LinkOAM_DrawShield:
.shield_continue
}
warnpc $0DA79C
assert pc() <= $0DA79C
; Hide sword while deku hover
org $0DA5EA

View File

@@ -56,7 +56,7 @@ LinkItem_ShovelAndFlute:
JMP LinkItem_WolfMask
}
; warnpc $07A31F
; assert pc() <= $07A31F
; =========================================================

View File

@@ -60,7 +60,7 @@ LinkItem_ZoraMask:
RTS
}
warnpc $07A5CE
assert pc() <= $07A5CE
; =========================================================
@@ -170,7 +170,7 @@ org $0782D2
CLC
RTS
warnpc $0782DA
assert pc() <= $0782DA
pullpc