summaryrefslogtreecommitdiff
path: root/home
AgeCommit message (Collapse)Author
2020-10-05Identify some more unnamed labelsRangi
2020-10-04Identify some more unnamed labelsRangi
2020-08-18Merge pull request #756 from mid-kid/masterRangi
Rub a dub dub, thanks for the grub
2020-08-18Enable compatibility with upcoming RGBASM versionISSOtm
This is additionally required, because an `elif`'s condition is evaluated even when it's about to be skipped over, and this `"\2"` will become an error
2020-08-17"<NULL>" -> 0, for 'and a'Rangi
2020-08-17Use ISCONST for future rgbds lexer compatibilityRangi
2020-08-05Use TRUE for hCGBPalUpdatemid-kid
2020-08-03TX_NUM -> TX_DECIMALmid-kid
2020-08-03Better label 2D menu datamid-kid
2020-07-13Disassemble the final English debug ROMRangi
2020-07-06text_linkpromptbutton -> text_waitbuttonRangi
Removes support for text_waitbutton as a legacy alias for text_promptbutton.
2020-07-04SCGB_PARTY_MENU_HP_PALS -> SCGB_PARTY_MENU_HP_BARS, and SCGB_RAM -> SCGB_DEFAULTRangi
2020-07-01Identify more labels, and use the jumptable macro when possibleRangi
2020-06-29Identify more labels and constantsRangi
2020-06-22Identify some more labelsRangi
2020-06-21Sync PokeFluteTerminator with pokegoldRangi
2020-06-21Comment more ROM labels as unreferencedRangi
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-21Replace "Unreferenced" labels with "; unreferenced" commentsRangi
2020-06-17Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to ↵Rangi
OpenSRAM) To do: engine/{menus, overworld}
2020-06-16ReplaceKrisSprite -> UpdatePlayerSpriteRangi
2020-06-16Harmonize home/ with pokegoldRangi
2020-06-16Harmonize some more symbols with pokegoldRangi
2020-05-19Add some comments to UpdateBGMapRangi
2020-05-18Update some routine labels, including unreferenced onesRangi
2020-05-17Miscellaneous cleanup noted in #709Rangi
2020-05-16Format all CopyTilemapAtOnce variations the same wayRangi
2020-05-05Miscellaneous fixesRangi
Addresses the haircut brothers' probability comments in #709
2020-04-18Miscellaneous fixes, including one for the Pokédex design flaw by ax6Rangi
2020-04-16Fix #709 miscellaneous issuesRangi
2020-04-06Ensure that the cartridge header is patched over all $00s, and comment on ↵Rangi
the entry point format
2020-04-06hStackBank -> hTempBankRangi
2020-04-06hBuffer -> hStackBank and hFarByteRangi
2020-04-04Miscellaneous fixes:Rangi
- `hSecondsBackup` -> `hUnusedBackup` - `ld bc, hBGMapAddress + 1` -> `bccoord -1, -2, 0` - Identify some `.asm_XXX` labels
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-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-15Add a `LANDMARK_` prefix to landmark constantsRangi
Resolves #697
2020-02-28Identify remaining gfx/unknown filesRangi
2020-02-26Fix some comments and whitespaceRangi
2020-02-23Replace some "idiotic", "wtf", "stupid interns" comments with more common ↵Rangi
"useless", "pointless", "could have done X instead"
2020-02-23Fix build with rgbds 0.3.9 releaseRangi
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-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-16PanicResetClock -> ClearClockmid-kid
Funky name that only exists based on what it's used for, not so much what it is.
2020-02-13Define TileCollisionTable as a standard 'db' seriesRangi