Prev: 43999 Up: Map Next: 44020
44008: 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 44008 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Change how many items the player may carry.
44011 LD A,(IX+1) Fetch the new carrying limit (the operand) from *IX+1 into A.
44014 LD (41171),A Store it at CarryingLimit.
44017 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: 43999 Up: Map Next: 44020