Difference between revisions of "SaveEVTCHRClear"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{{IE_5A_desc}} | {{IE_5A_desc}} | ||
− | + | To replace an EVTCHR, this must be used before [[Event_Instruction_59|{59} {{IE_59}}]]! | |
+ | If you are just trying to Clear out an EVTCHR for any reason, such as issues with UnitAnim in a event, on attack frames. You can simply put {{IE_5B_ex}} followed by {{IE_5A_ex}} for the corresponding block you would like to clear out. | ||
See also: [[Event_Instruction_58|{58} {{IE_58}}]] ― [[Event_Instruction_59|{59} {{IE_59}}]] ― [[Event_Instruction_5B|{5B} {{IE_5B}}]] | See also: [[Event_Instruction_58|{58} {{IE_58}}]] ― [[Event_Instruction_59|{59} {{IE_59}}]] ― [[Event_Instruction_5B|{5B} {{IE_5B}}]] |
Revision as of 04:07, 4 May 2020
{5A} SaveEVTCHRClear
SaveEVTCHRClear(xBL,x00)
Allows to save an EVTCHR slot once more in the given memory block.
To replace an EVTCHR, this must be used before {59} SaveEVTCHR!
If you are just trying to Clear out an EVTCHR for any reason, such as issues with UnitAnim in a event, on attack frames. You can simply put LoadEVTCHRClear(xBL,x00) followed by SaveEVTCHRClear(xBL,x00) for the corresponding block you would like to clear out.
See also: {58} LoadEVTCHR ― {59} SaveEVTCHR ― {5B} LoadEVTCHRClear
Memory Block : Byte (hex)
- x00 = Block 1
- x01 = Block 2