Prev: ABDF Up: Map Next: ABF4
ABE8: Action: Set Carrying Limit
Writes the operand to CarryingLimit.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_SetCarryingLimit ABE8 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Change how many items the player may carry.
ABEB LD A,(IX+$01) Fetch the new carrying limit (the operand) from *IX+01 into A.
ABEE LD ($A0D3),A Store it at CarryingLimit.
ABF1 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: ABDF Up: Map Next: ABF4