Prev: 70E2 Up: Map Next: 70F3
70E8: Index Action
Turns an action id into the address of its 08-byte entry in Actions.
Input
A The ID of the Action; 01-3B
IndexAction 70E8 LD L,A Turn the id into an address in the action table, 08 bytes per entry.
70E9 LD H,$00
70EB ADD HL,HL
70EC ADD HL,HL
70ED ADD HL,HL
70EE LD DE,$AB4B
70F1 ADD HL,DE
70F2 RET Return.
View the equivalent code in;
Prev: 70E2 Up: Map Next: 70F3