Prev: 6074 Up: Map Next: 6133
612B: Step Past Condition
Used by the routines at RunScripts and SkipLine.
Moves HL past a condition and its parameter. Condition numbers below 15 have no extra object byte.
SkipCondition 612B LD A,(HL) Fetch the condition number.
612C INC HL Step past the condition and its object byte.
612D INC HL
612E CP $15 Return if the condition number is below 15.
6130 RET C
6131 INC HL Step past the parameter byte.
6132 RET Return.
Prev: 6074 Up: Map Next: 6133