summaryrefslogtreecommitdiff
path: root/asm/macros
AgeCommit message (Collapse)Author
2019-08-17Review fixesTustin2121
2019-08-17Folded nops into hidemoneybox and updatemoneyboxTustin2121
The nops are essential to the hidemoneybox and updatemoneybox commands when using vanilla versions of those commands. Even though they're not actually used parameters in the command implementation, they are still consumed, which means if someone were to get rid of the nops (as I did in TriHard) it causes the commands to consume bytecode that are not theirs, resulting in undefined behavior usually leading to softlocks. Folding the extra bytes into the macros means there's no chance of the extra bytes getting losts in scripts.
2019-08-17Rename movobjectoffscreen to copyobjectxytopermTustin2121
Renaming the command to something that makes more sense as to what the command actually does. The command copies the current xy of the instantiated object back to its template, so that the object remains in the same place if the player walks away and despawns the object, and then comes back. "moveobjectoffscreen" implies that it might be taking the object and moving it physically to an off-screen location somehow.
2019-04-09Update battle_anim_script.incDizzyEggg
2019-04-04Document landmark setting and item ballsFontbane
2019-04-03Minor fixesPikalaxALT
gotoram --> returnram cmdCF/execram --> gotoram fix indentation in sym_ewram.txt fix mevent_client.h guard name
2019-04-02Document a bit of animsDizzyEggg
2019-03-30Helpful macros for atk49DizzyEggg
2019-03-03Fix typosPhlosioneer
This is an updated version of #554, since it hasn't been updated in two weeks.
2019-03-02Merge pull request #587 from Phlosioneer/document-all-event-varshuderlem
Document all event vars
2019-02-28Pick better names for constantsPhlosioneer
2019-02-28Add macros for metatile manipulationPhlosioneer
2019-02-27Name several vars, document some related eventsPhlosioneer
2019-02-14Fix two battle scripting macrosDizzyEggg
2019-02-12Clear up misnamed time-based flags and functionsDiegoisawesome
2019-01-21Add var const prefix for some missed var numbersDiegoisawesome
2018-12-26Use map_header_flags macro (#483)Marcus Huderle
2018-12-21improve call_if macrosMelody
2018-12-21improve goto_if macrosMelody
2018-12-19Fix deleted lineDeokishisu
2018-12-19Add requirements to the fields of the object_event macroDeokishisu
With these changes, the compiler will yell at you if you screw up the number of fields for your event objects while manually editing a map's events.inc. Making these fields required will prevent event corruption of all map events that are included after the map with the messed up fields.
2018-12-07Document trainer battle scripts (#430)DizzyEggg
2018-12-02adds req for macro argumentsMelody
2018-12-02trainerbattle_normal → trainerbattle_singleMelody
* trainerbattle_normal → trainerbattle_single * TRAINER_BATTLE_NORMAL → TRAINER_BATTLE_SINGLE * improves the macro documentation a little
2018-12-02cleans up trainer battle scriptsMelody
* adds battle type macros * adds `trainerbattle_normal` macro * adds `trainerbattle_double` macro * adds rematch macros * adds no intro macro
2018-12-02Merge with masterDizzyEggg
2018-12-02Use :req macrosDizzyEggg
2018-12-02defines `register_matchcall` macroMelody
2018-12-02adds constants, cleans up callstd and msgbox codeMelody
* adds some constants for standard script names and messagebox types * replaces some callstd calls with msgbox calls where equivalent * replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-11-15Merge pull request #383 from garakmon/createspriteDiegoisawesome
Update createsprite macro and rename BANK to BATTLER
2018-11-13remove extra macro and shorten namesgarak
2018-11-13update createsprite macro and rename BANK to BATTLERgarak
2018-11-11Document battle arenaDizzyEggg
2018-10-19clean flags and remove temp macrogarak
2018-10-17begin event flag names, add temporary hidden item macrogarak
2018-10-06Merge pull request #320 from DizzyEggg/animsMarcus Huderle
Document battle animation scripts
2018-09-22calledattack to calledmoveDizzyEggg
2018-09-22gRandomMove to gCalledMoveDizzyEggg
2018-09-12Sync battle anim labels with pokerubyDizzyEggg
2018-09-10Document battle animation scripts.DizzyEggg
2018-09-01Bank to battlerDizzyEggg
2018-08-25Some labelsDizzyEggg
2018-07-16Merge with masterDizzyEggg
2018-07-11Sync bg_event macros with pokerubyMarcus Huderle
2018-06-30more battle documentationDizzyEggg
2018-06-28document party status summaryDizzyEggg
2018-06-15Split out movement radius in object_event macroMarcus Huderle
2018-06-15Remove filler bytes from object_event macroMarcus Huderle
2018-06-15Get all map constants from include/ rather than constants/Marcus Huderle
2018-06-13Update applymovement actions to reflect movement action namesMarcus Huderle