Prev: 24692 Up: Map Next: 24883
24875: Step Past Condition
Used by the routines at RunScripts and SkipLine.
Moves HL past a condition and its parameter. Condition numbers below 21 have no extra object byte.
SkipCondition 24875 LD A,(HL) Fetch the condition number.
24876 INC HL Step past the condition and its object byte.
24877 INC HL
24878 CP 21 Return if the condition number is below 21.
24880 RET C
24881 INC HL Step past the parameter byte.
24882 RET Return.
Prev: 24692 Up: Map Next: 24883