Prev: 612B Up: Map Next: 6141
6133: Step Past Action
Used by the routines at RunScripts and SkipLine.
Moves HL past an action. Actions 09 to 15 carry one extra byte, and higher actions carry two.
SkipAction 6133 LD A,(HL) Keep the action number and step past it.
6134 AND $3F
6136 INC HL
6137 CP $09 Actions below 09 have no parameter.
6139 RET C
613A CP $16 Actions 09 to 15 carry one extra byte.
613C JR C,SkipAction_One
613E INC HL Higher actions carry a second extra byte.
SkipAction_One 613F INC HL Step past the last parameter byte.
6140 RET Return.
Prev: 612B Up: Map Next: 6141