summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
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-03Minor fixesPikalaxALT
gotoram --> returnram cmdCF/execram --> gotoram fix indentation in sym_ewram.txt fix mevent_client.h guard name
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-12Clear up misnamed time-based flags and functionsDiegoisawesome
2019-01-21Add var const prefix for some missed var numbersDiegoisawesome
2018-12-21improve call_if macrosMelody
2018-12-21improve goto_if macrosMelody
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-01-21Merge branch 'master' into linkPikalaxALT
2018-01-21start decompiling mystery event scriptDizzyEggg
2018-01-18Merge branch 'master' into linkscnorton
2017-12-21Fix setvaddress paramsDiegoisawesome
2017-12-21Revert initclock arg sizesMarcus Huderle
2017-12-21Port generic event script macros from pokerubyMarcus Huderle
2017-12-17give batter script command namesDizzyEggg
2017-12-01battle setup file is decompiledDizzyEggg
2017-11-10Extract baseroms from event_scriptsDiegoisawesome
2017-11-10Dump numerous baseroms, begin moving data to proper filesDiegoisawesome
2017-10-27Merge branch 'master' of github.com:pret/pokeemerald into dump_mapsDiegoisawesome
2017-10-27Final predump fixesDiegoisawesome
2017-10-26Final fixes before dumpDiegoisawesome
2017-10-24More prepDiegoisawesome
2017-10-23Fix some stuffDiegoisawesome
2017-10-23Prepare for dumpingDiegoisawesome