summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-04Upgrade to rgbds 0.4.0Rangi
- fail for rgbds < 0.4.0 - `rst <Label>` - `ds <count>, <byte>` - `shift <N>` - ASCII "\r" - Sorted .sym file
2020-04-02Merge pull request #704 from LIJI32/gfx_bugfixmid-kid
(gfx.c) Fix several out-of-bound reads in; fix a memory leak
2020-04-02Fix bad round, memset VLALior Halphon
2020-04-02Indentation conventions, use C99 variable length arraysLior Halphon
2020-04-02Fix several out-of-bound reads; fix a memory leakLior Halphon
2020-03-31Assorted labels in mobile related code (#702)Andrew Cook
Rename assorted labels in mobile-related code
2020-03-23Merge pull request #699 from Rangi42/masterRangi
Resolve some miscellaneous issues
2020-03-21Add suffixes to some constants to avoid ambiguityRangi
- `PSYCHIC` → `PSYCHIC_TYPE` (not the trainer `PSYCHIC_T` or the move `PSYCHIC_M`) - `BLACKBELT` → `BLACKBELT_I` (not the trainer `BLACKBELT_T`) - `CURSE_T` → `CURSE_TYPE` (not the move `CURSE`) - `TOWN_MAP_D` → `TOWN_MAP_POSTER` (not the item `TOWN_MAP`) This also uncovered a misidentified event: `EVENT_DECO_PLANT_4` → `EVENT_DECO_POSTER_1`. (There are three plants and four posters.)
2020-03-21Remove some redundant comments superseded by labels (see #693)Rangi
2020-03-21Revert the broken CheckTypeMatchup bugfix simplification from ↵Rangi
5728d0141793d832476b3f7b5c0844166fa7c242
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-21Miscellaneous fixes from #694Rangi
2020-03-16Combine Celebi frames into one PNGRangi
2020-03-15Merge pull request #696 from Rangi42/masterRangi
Rename LANDMARK_* constants, and refactor flypoints
2020-03-15Add a `LANDMARK_` prefix to landmark constantsRangi
Resolves #697
2020-03-15Refactor flypoints to separate const definition from data usageRangi
2020-03-11Add tools/used_space.py to visualize the ROM based on the .map fileRangi
2020-03-11Add tools/used_space.py to visualize the ROM based on the .map fileRangi
2020-03-01Merge pull request #692 from Rangi42/mastermid-kid
Change how some PNG graphics are formatted
2020-03-01Change how some PNG graphics are formattedRangi
2020-02-28Merge pull request #691 from Rangi42/masterRangi
Identify remaining gfx/unknown files, and document a Teleport bug
2020-02-28'and BANK' -> 'aka BANK'Rangi
2020-02-28Document a bug where Teleport cannot fail for wild PokémonRangi
2020-02-28Identify remaining gfx/unknown filesRangi
2020-02-26Identify gfx/unknown/4985a.asm as gfx/tilesets/forest-tree/unused.pngRangi
2020-02-26Fix some comments and whitespaceRangi
2020-02-25Merge pull request #690 from Rangi42/masterRangi
Identify some labels and constants for Battle Tower
2020-02-25unused_dark_cave -> unused_johto (goes with the beta Johto town+city maps)Rangi
2020-02-25Identify some labels and constants for Battle TowerRangi
2020-02-25Merge pull request #689 from mid-kid/masterRangi
Fix Mac OSX install instructions
2020-02-25Fix SRAM references in Function140aemid-kid
2020-02-25Fix Mac OSX install instructionsmid-kid
2020-02-24Merge pull request #688 from Rangi42/mastermid-kid
Edit some comments about bad code
2020-02-23Replace some "idiotic", "wtf", "stupid interns" comments with more common ↵Rangi
"useless", "pointless", "could have done X instead"
2020-02-23Remove empty .gitmodulesRangi
2020-02-23Fix build with rgbds 0.3.9 releaseRangi
2020-02-23Merge pull request #687 from mid-kid/masterRangi
Small home/ reorganization
2020-02-23Fix the sections in home/header.asmmid-kid
They're fixed anyway, and this allows us to make some expressions constant.
2020-02-23JoypadInt -> Joypadmid-kid
This matches all other interrupts. The old Joypad was renamed to UpdateJoypad.
2020-02-23Create home/header.asmmid-kid
Contains what was previously in: - home/rst.asm - home/interrupts.asm - home.asm All of this should be in a static location in the ROM so it kinda makes sense together.
2020-02-22Implement suggestions in PR #687mid-kid
Merge mon_stats.asm, cry.asm, print_level.asm, and mon_data.asm into pokemon.asm Merge mon_party.asm into battle.asm Merge menu.asm, menu_window.asm, and menu2.asm into menu.asm
2020-02-22Small home/ reorganizationmid-kid
Time to move everything out of home.asm: - InexplicablyEmptyFunction was moved to home/map.asm - The wDebugFlags functions and xor_a brothers were moved to home/flag.asm because they're all flag-related. - ret_2f3e was moved into home/region.asm - The register alias sisters were moved to a new file called home/call_regs.asm - IsInArray and SkipNames were joined by AddNTimes from home/math.asm into home/array.asm, as they're all used to index arrays. - CallPointerAt was moved into home/print_text.asm because given the contents of that file it doesn't feel very out of place (that file isn't very aptly named...) - CountSetBits was moved into home/pokedex_flags.asm because it's unique use is counting the amount of seen/caught mon in the podedex. GetWeekday was pulled into this by proximity. Other changes were also made: - PushLYOverrides was moved from home/sprite_anims.asm to home/battle.asm, because it's almost exclusively used for battle animations, with the lone exception being the Magnet Train. - home/copy.asm was renamed to home/gfx.asm, as it's all gfx-related - home/copy2.asm was renamed to home/copy.asm, now it's the only file called copy. - SetHPPal and GetHPPal were moved from home/hp_pals.asm to home/tilemap.asm, as they're attrmap related, like many functions in that file are. - home/rtc.asm was renamed to home/time_palettes.asm, as it had very little to do with the RTC at all, all RTC functions being in home/time.asm - home/handshake.asm was renamed to home/printer.asm. - home/mon_data_2.asm was renamed to home/mon_party.asm.
2020-02-21Merge pull request #685 from mid-kid/mastermid-kid
Moshi moshi? minoru enhansumentsu desu
2020-02-21Fix some comments and inmediatesmid-kid
2020-02-21Document GetTMHMName localsmid-kid
This was documented in pokegold apparently
2020-02-21RTC -> UpdateTimeAndPalsmid-kid
Rename clear misnomer. Most of the related functions in that file aren't really aptly named but I don't know good names right now.
2020-02-21Fix tools/unnamed.py for new rgbds object formatmid-kid
2020-02-16Correct fash ship typosmid-kid
2020-02-16PanicResetClock -> ClearClockmid-kid
Funky name that only exists based on what it's used for, not so much what it is.
2020-02-13Merge pull request #684 from Rangi42/masterRangi
Define TileCollisionTable as a standard 'db' series