Prev: 48216 Up: Map Next: 48234
48220: Script routine: (11) Set walking-left flag and reset walking-right flag
Used by the routine at 48096.
Input
E (Entry at 48222 only) Combination of flags to (re)set
IX Address of complex state data for an entity
48220 LD E,2 Prepare to set entity walking-left flag and reset entity walking-right flag
This entry point is used by the routines at 48212 and 48216.
48222 LD A,(IX+11) (Re)set walking-left and walking-right flags as prepared in E...
48225 AND 240 ...and reset unused-(11,2) and unused-(11,3) flags...
48227 ADD A,E ...
48228 LD (IX+11),A ...
48231 JP 48096 Advance HL to next script instruction and execute
Prev: 48216 Up: Map Next: 48234