summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
AgeCommit message (Collapse)Author
2021-02-15Rename obedient/fatefulEncounter to eventLegalDeokishisu
Per discussion on pret, `obedient`/`fatefulEncounter` has been renamed to `eventLegal`, and all related functions and constants have been modified with this in mind. Additionally, fixed some whitespace alignment issues in `script_cmd_table.h`, `pokemon.h`, and `tv.c` from the last commit.
2021-02-15Fix giftRibbons Field in SaveBlock1 & Relabel Gift Ribbons in pokemon.hDeokishisu
The giftRibbons field has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and Emerald, such as PokéCoupon storage and the flag for receiving Wishmaker Jirachi. The giftRibbon fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. The previous `fatefulEncounter` field was actually filler, and relabeled as such, while the obedient bit was renamed `fatefulEncounter`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
2021-01-26Document object lock and some trainer approachGriffinR
2021-01-26Clean up scrcmd.cGriffinR
2020-09-25Mark unused script commandsExpoSeed
2020-07-09Fix indentationRyuhouji
2020-07-09Made documentation more readableRyuhouji
This change will make the script command documentation more user-friendly to read. Additionally, provided the information on the 'delay' macro. I have confirmed that this is indeed Frames and not Milliseconds. Updated the macro respectively.
2020-01-13Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobjGriffinR
2020-01-12Give/Take to Add/Remove for silent script macrosGriffinR
2020-01-12if_undefeated macro to if_not_defeatedGriffinR
2020-01-11Port some macro/script fixes from pokefireredGriffinR
2019-12-21Merge master into ObjEvent renameGriffinR
2019-12-20Merge pull request #935 from GriffinRichards/doc-warpDiegoisawesome
Document some warp/field screen effect
2019-12-20Merge pull request #939 from GriffinRichards/fix-compareDiegoisawesome
Use constants in compare macro
2019-12-20Reword yesnobox commentGriffinR
2019-12-20Remove references to LASTRESULTGriffinR
2019-12-18Remove uses of compare_var_toGriffinR
2019-12-18Use constants in compare macroGriffinR
2019-12-18Merge branch 'master' into fix-eventobjGriffinR
2019-12-17Document some warp/field screen effectGriffinR
2019-12-15Use fadescreen constantsGriffinR
2019-12-15Merge master into ObjEvent renameGriffinR
2019-12-14Split finditem_std from giveitem_stdGriffinR
2019-11-20Standardize Event Object to Object EventGriffinR
2019-11-17Document Scotts House and begin frontier macrosGriffinR
2019-11-16Document Trainer HillGriffinR
2019-11-13Document Lilycove scriptsGriffinR
2019-11-07Add comments to hidemoneybox macroGriffinR
2019-11-07Fold nops into hidemoneyboxGriffinR
2019-11-06Update fldeff sparkle macroGriffinR
2019-11-06Document Abandoned Ship scriptsGriffinR
2019-11-06Clean up mystery event msgGriffinR
2019-10-31Document legendary scriptsGriffinR
2019-10-16Merge branch 'master' into document-gyms2GriffinR
2019-10-16Document rotating_tile_puzzleGriffinR
2019-10-15Finish Mossdeep Gym doc, beging documenting rotating tile puzzleGriffinR
2019-10-12Unify showmonpic and hidemonpic script command names with their function namesMarcus Huderle
2019-09-19Clean up script_menu documentationGriffinR
2019-09-16Use misc ScrCmd constantsGriffinR
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