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) Step past the condition byte and its object byte.
24876 INC HL
24877 INC HL
24878 CP 21
24880 RET C Conditions below 21 have no further parameter.
24881 INC HL Step past the parameter byte.
24882 RET Return.
Prev: 24692 Up: Map Next: 24883