summaryrefslogtreecommitdiff
path: root/constants/battle_tower_constants.asm
AgeCommit message (Collapse)Author
2021-04-27Use {interpolation} to generate sequences of RAM labelsRangi
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-02-04Battle Tower: fix typo in constant (PROGESS -> PROGRESS)Fredrik Ljungdahl
2020-06-21Remove some more raw addressesRangi
2019-03-10Rename more script commands for consistency and predictabilityRangi
Fixes #540
2019-01-02Clean up some Odd Egg and Battle Tower code and dataRangi
Fixes #589
2018-04-01Fix file permissionsmid-kid
I have no idea why this was a thing (do people store this repo on FAT32 flash drives or something?), but quite a bit of files had a permission of 755. This isn't really a problem, but it's inconsistent and weird.
2018-02-25Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # constants/map_constants.asm # constants/wram_constants.asm # data/radio/oaks_pkmn_talk_routes.asm # data/radio/pnp_hidden_places.asm # engine/battle/core.asm # engine/breeding.asm # engine/phone/phone_scripts.asm # engine/radio.asm # maps/BattleTower1F.asm # maps/OlivineLighthouse2F.asm # maps/OlivineLighthouse6F.asm # maps/PokemonFanClub.asm # maps/RadioTower1F.asm # maps/RadioTower2F.asm # maps/Route30BerryHouse.asm # maps/Route34IlexForestGate.asm # maps/Route36NationalParkGate.asm # maps/RuinsOfAlphKabutoChamber.asm # maps/RuinsOfAlphResearchCenter.asm # maps/VermilionPort.asm # maps/VictoryRoad.asm
2018-02-22Pkmn -> Monmid-kid
Since we're aiming for consistency across the codebase, I believe it includes a uniform way to refer to the creatures this game consists of in the labels of the code. The only exceptions to this rule are labels referring to things named through the use of the <PK><MN> or <PKMN> characters, in which case PKMN is used. Most of this was already consistent enough™, I just picked the convention with the most occurences and fixed the outliers.
2018-01-31const_def NRangi
2018-01-20PARTY_LENGTH; MON_NAME; sgb_border.binRemy Oukaour
2018-01-20Rename BATTLETOWER_NROF constantsRemy Oukaour
2018-01-14More Battle Tower map script constants, fewer raw hex valuesRemy Oukaour
2018-01-10More maskbitsRemy Oukaour
2018-01-10Constant swap explains this Battle Tower bugRemy Oukaour
2018-01-09Clearer Battle Tower codeRemy Oukaour
2017-12-15Move more main.asm code into individual filesRemy Oukaour
2017-12-15Move all misc/ and unknown/ files to meaningful directoriesRemy Oukaour
2017-12-09Document constants with comments, actual names, and more thorough usageRemy Oukaour
2017-11-19Labelled some battle tower-related functionsmid-kid
The UbersCheck and LevelCheck are used only for the battle tower, despite them living in the mobile files. Also labelled some of the known BattleTowerActions.
2016-03-27Split up banks 1-3 of main.asmpikalaxalt
2015-12-26jumptable macro repurposedPikalaxALT
2015-12-08More battle tower shenanigansPikalaxALT
2015-11-26Battle Tower scripts and text labelsPikalaxALT
2015-11-03Battle TowerPikalaxALT