![]() |
Routines |
| Prev: AA39 | Up: Map | Next: AA5F |
|
Replaces the first item operand with the second, in the same room.
|
||||
|
When the condition succeeded, replace the first item operand with the second, in the same room.
|
||||
| Action_TransformItem | AA48 | JP NZ,Handler_RunScript_9 | Leave both items as they are. | |
| AA4B | LD A,(IX+$01) | The first operand names the item. | ||
| AA4E | CALL Handler_RunScript_15 | FF stands for the matched item. | ||
| AA51 | LD B,A | The item being replaced. | ||
| AA52 | LD A,(IX+$02) | The second operand names the replacement. | ||
| AA55 | CALL Handler_RunScript_15 | FF stands for the matched item. | ||
| AA58 | LD C,A | The item that replaces it. | ||
| AA59 | CALL TransformItem | Call TransformItem. | ||
| AA5C | JP Handler_RunScript_9 | Resume the script. | ||
| Prev: AA39 | Up: Map | Next: AA5F |