Use more assertions to ensure correct code and data
This commit is contained in:
@@ -7781,7 +7781,8 @@ HandleSafariAngerEatingStatus: ; unreferenced
|
||||
jr .finish
|
||||
|
||||
.angry
|
||||
dec hl ; wSafariMonAngerCount
|
||||
dec hl
|
||||
assert wSafariMonEating - 1 == wSafariMonAngerCount
|
||||
ld a, [hl]
|
||||
and a
|
||||
ret z
|
||||
|
Reference in New Issue
Block a user