Commit graph

212 commits

Author SHA1 Message Date
Sylvie
5a622f628d
Identify remaining uses of wd0b5 and wd11e (#463) 2024-09-18 21:41:58 -04:00
Sylvie
613d34678b
Split hSpriteIndexOrTextID into hSpriteIndex and hTextID (#462)
Also identify `wPPUpCountAndMaxPP`
2024-09-18 21:01:18 -04:00
Sylvie
77d051479b
Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457) 2024-08-04 10:05:33 -04:00
Sylvie
6e3ab0a9e9
Identify wcd6d as wNameBuffer and others (#455) 2024-07-24 12:21:59 -04:00
Sylvie
8fafca714c
Identify various flag labels and bit constants (#454) 2024-07-16 13:02:54 -04:00
Sylvie
fc23e72a39
Identify some unused WRAM variables (#453) 2024-06-15 12:18:00 -04:00
dannye
3c76871600 Fix some map text constants 2023-11-21 20:25:12 -06:00
dannye
d3e713f6c6 Fix event check 2023-11-20 21:03:38 -06:00
Rangi42
77887be251 Identify wSavedCoordIndex and its other usages 2023-11-20 18:53:23 -05:00
Vortyne
3bbd38aa15
Name 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) 2023-11-19 17:37:59 -06:00
dannye
7d2dde5c84 Fix incorrect fallthrough comment 2023-11-19 16:24:11 -06:00
dannye
e7f94cc520 Fix inconsistent object const names 2023-11-19 16:03:49 -06:00
Vortyne
5739aea990
Name unnamed labels in seafoam islands and pokemon mansion script files (#435)
* Update PokemonMansion1F.asm

* Name unnamed seafoam/mansion labels
2023-11-19 15:09:33 -06:00
dannye
4ac6f54c67 Fix HallOfFake typo 2023-11-19 13:17:51 -06:00
dannye
9f2d6aa0a8 Fix Celedon typo 2023-11-19 12:33:30 -06:00
Rangi42
26a342b104 Identify more map script labels 2023-11-18 19:44:03 -05:00
Linus Unnebäck
83b373ad73
Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits

* Apply Vulcandth and Rangi42 feedback

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 12:50:27 -06:00
Vortyne
9a780d4501
Missing usage of def_script_pointers (#423) 2023-08-26 10:08:59 -05:00
SatoMew
f46db37d50
Thoroughly document debug code (#410) 2023-07-15 18:36:59 -04:00
vulcandth
d001ced41b
Add macros, constants, and labels for map scripts and text (#367)
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.
2023-07-13 21:27:56 -04:00
Rangi
3520a4c99a Distinguish Elite 4 "meta" constants from event constants
Fixes #390
2022-09-15 18:10:45 -04:00
Rangi
bbb0e7e82d
Use the same music headers as pokecrystal (#382) 2022-08-11 21:23:08 -04:00
Colton G. Rushton
cc46b0e510
wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
Rangi
09e92c554c Use ~X instead of $ff ^ X 2021-11-23 21:00:07 -05:00
Daniel Harding
f3dbec09a8
Merge pull request #325 from CelestialAmber/master
Partially document CeruleanCity.asm
2021-05-31 15:43:57 -05:00
Daniel Harding
c5bb400e08
Merge pull request #323 from KqesaR/master
Clean many labels of scripts of gyms
2021-05-31 15:42:41 -05:00
Rangi
f9ae7b1240 More WRAM label cleanup (still needs UNIONs and renaming) 2021-05-31 16:25:16 -04:00
Amber Brault
7b5bcbc024 Update CeruleanCity.asm 2021-05-31 16:00:32 -04:00
Yoann Fievez
a448ac897d Clean many labels of scripts of all gyms 2021-05-31 20:41:10 +02:00
Amber Brault
78b08c3a76 Partially document CeruleanCity.asm 2021-05-31 11:41:36 -04:00
Rangi
506a14084e
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318) 2021-04-13 18:24:37 -04:00
Rangi
2954013da1 Trim extra newlines from some files 2021-04-08 12:51:25 -04:00
dannye
66377fca32 Fix file modes 2020-11-14 20:52:10 -06:00
Rangi
13d4d533f7 Sync more with pokeyellow 2020-11-06 10:33:58 -05:00
SatoMew
9e8caa1a10 Use the constant in all relevant situations 2020-09-22 19:15:37 +01:00
Rangi
b506214f68 Identify some hSpriteDataOffset values 2020-08-30 16:33:14 -04:00
Rangi
637f38b139 Use decimal, not hex, for sprite (object) coordinates in map scripts 2020-08-28 12:10:55 -04:00
Rangi
e88eebbc4d Consistent labels for Gym name scripts 2020-07-18 14:01:13 -04:00
Rangi
30ecbf6ea3 SONY -> RIVAL 2020-07-17 13:27:27 -04:00
Rangi
84abdb0237 $ec = "▷" 2020-07-16 12:48:42 -04:00
Rangi
76b882d952 Reformat map scripts' coordinate and movement data
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-16 12:32:19 -04:00
Rangi
594c58a289 Revise some map scripts, mostly for getting items 2020-07-16 11:19:05 -04:00
Rangi
8c83ebe966 Define constants for in-game trades 2020-07-16 09:32:09 -04:00
Rangi
4b4ad9894e Disassemble the BLUEMONS.GB debug ROM 2020-07-15 13:35:39 -04:00
Rangi
5c0f33cb53 Use a 'trainer' macro for trainers in scripts/ 2020-07-14 15:53:25 -04:00
Rangi
be326c6565 Factor out spinner tiles from RocketHideoutB2F since they're also used by ViridianGym, and to make their data and code more accessible 2020-07-14 15:14:32 -04:00
Rangi
f37cf959c9 Clean up some data, using macros for multiline list entries 2020-07-14 13:32:09 -04:00
Rangi
4a7d1513f3 Use 'tile' and 'tiles' macros 2020-07-07 16:21:26 -04:00
Rangi
13129459f1 Sync coordinate macros with pokecrystal 2020-07-07 11:30:10 -04:00
Rangi
45ed05decf Use HIGH() and LOW() 2020-07-07 11:10:29 -04:00