aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/OaksLab.asm (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-01-07Use macros to enforce "missable/hide/show object" constraints, and rename ↵Rangi1-33/+33
them to "toggleable objects" (#557)
2025-06-30Use combined hardware constantsRangi421-5/+5
2025-06-30Replace hardware_constants.asm with hardware.inc (#511)Rangi1-7/+7
2024-09-23Identify more flag bits (#464)Sylvie1-1/+1
2024-09-18Identify remaining uses of `wd0b5` and `wd11e` (#463)Sylvie1-4/+4
2024-09-18Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie1-16/+16
Also identify `wPPUpCountAndMaxPP`
2024-08-04Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie1-4/+4
2024-07-16Identify various flag labels and bit constants (#454)Sylvie1-28/+28
2023-11-20Fix event checkdannye1-1/+1
2023-11-17Add constants for wMapConnections bits and group map header wram labelsLinus Unnebäck1-2/+2
* Add constants for wMapConnections bits * Apply Vulcandth and Rangi42 feedback --------- Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-07-13Add macros, constants, and labels for map scripts and text (#367)vulcandth1-353/+352
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2020-11-14Fix file modesdannye1-0/+0
2020-11-06Sync more with pokeyellowRangi1-2/+2
2020-08-30Identify some hSpriteDataOffset valuesRangi1-9/+9
2020-08-28Use decimal, not hex, for sprite (object) coordinates in map scriptsRangi1-14/+14
2020-07-17SONY -> RIVALRangi1-1/+1
2020-07-16Reformat map scripts' coordinate and movement dataRangi1-11/+11
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-16Revise some map scripts, mostly for getting itemsRangi1-1/+1
2020-07-06callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi1-3/+3
2020-07-06Specify the ldh instruction, don't turn ld into ldhRangi1-63/+63
2020-07-05Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellowRangi1-3/+3
2020-07-04Port pokecrystal's formatting of text commands and special charactersRangi1-104/+104
2020-07-04Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported ↵Rangi1-1/+1
by rgbds 0.4.0)
2020-07-03Replace raw hex values with HRAM constantsRangi1-4/+4
To do: turn constants into labels and use ldh
2020-07-03H_CONSTANTNAMES -> hConstantNamesRangi1-26/+26
2020-07-03Organize macros/ like pokecrystalRangi1-2/+2
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
2019-10-07Deobfuscate gyms consistentlydeak311andris1-4/+4
2019-10-03OaksLab deobfuscationdeak311andris1-23/+23
2019-01-01Rename map files, labels, and constants to be consistent and work with ↵Rangi1-6/+6
Polished Map
2017-12-30Add space between arguments in assembly instructions and remove redundant a ↵xCrystal1-1/+1
in instructions like add a, x
2017-04-02Remove duplicate OaksLabText labelsMatthew Glazar1-22/+14
For unknown reasons, the text pointer list for Oak's Lab is duplicated. This is currently implemented by treating the two text pointer lists as one large list. This leads to duplicate labels and some confusing logic. Refactor the code to treat the two text pointer lists separately. This lets us remove several labels. It also makes the code which sets the text pointer list self-documenting.
2016-06-11remove address commentsYamaArashi1-106/+106
2016-05-30TX_SFX_KEY_ITEM and `mapconst` macropikalaxalt1-5/+8
2015-08-30No more W_dannye1-41/+41
2015-08-12named more variablesYamaArashi1-8/+8
2015-08-10No more $C8dannye1-1/+1
Use OPP_ constants separate from trainer constants since valid opponents can be all Pokemon and trainers
2015-08-08commented audio codeYamaArashi1-2/+2
2015-08-07named CountSetBits output variableYamaArashi1-2/+2
2015-08-05Use more lbdannye1-1/+1
and other clean up
2015-07-25yet more namingYamaArashi1-6/+6
2015-07-24more naming variablesYamaArashi1-13/+13
2015-07-23make route22 rival events more consistentYamaArashi1-2/+2
2015-07-21named most of the used eventsYamaArashi1-17/+17
2015-07-20enumerate eventsYamaArashi1-39/+21
2015-07-19namingYamaArashi1-8/+8
2015-07-18miscYamaArashi1-10/+10
2015-07-18fix variable namingYamaArashi1-34/+34
2015-07-17More direction constantsdannye1-22/+58
facing directions, npc movement, joypad
2015-07-15menu stuffYamaArashi1-3/+3
2015-07-15more movement stuffYamaArashi1-4/+4