summaryrefslogtreecommitdiff
path: root/home.asm
AgeCommit message (Collapse)Author
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.
2019-11-23Separate tilesets.o goes with pics.o and sprites.oRangi
2019-11-03Split menu code out of home/movement.asmRangi
2018-09-16wMonStatusFlags -> wDebugFlagsmid-kid
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-23StringCmp → CompareBytes; CompareLong → CompareBytesLongRangi
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
2018-06-25No space between labels and bodiesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time
2018-06-24Remove all address commentsmid-kid
2018-05-23Factor out GetHPPals and SetHPPals from home.asmRangi
The remaining code in home.asm is almost all "generic", unrelated to Pokémon-specific game logic, so leaving it as-is might be neater than little home/*.asm files for each routine.
2018-04-05Move more code from home.asm into home/Rangi
2018-04-05check_nick_errors → correct_nick_errors; matches correct_party_errorsRangi
2018-02-03Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
2018-01-30wSpritesEnd -> wVirtualOAMEnd.luckytyphlosion
2018-01-30Fix wVirtualOAM labels, part 2.luckytyphlosion
2018-01-23Prefix wram labels with w, part 2.luckytyphlosion
2018-01-23Prefix wram labels with w, part 1.luckytyphlosion
Handle edge cases first.
2018-01-23MenuDataHeader → MenuHeader, MenuData2 → MenuData (might complete issue ↵Rangi
#440)
2018-01-20PARTY_LENGTH; MON_NAME; sgb_border.binRemy Oukaour
2018-01-16map_header → map_def; map_header_2 → map_dataRemy Oukaour
2018-01-16Remove Predef_ prefix from routines listed in PredefPointersRemy Oukaour
2018-01-14Merge branch 'master' of https://github.com/xCrystal/pokecrystal (resolve PR ↵Remy Oukaour
#459) # Conflicts: # data/items/descriptions.asm # data/sprite_anims/framesets.asm # engine/crystal_colors.asm # engine/events/kurt.asm # engine/events/special.asm # engine/events/std_scripts.asm # engine/events_3.asm # engine/item_effects.asm # engine/namingscreen.asm # engine/scripting.asm # engine/stats_screen.asm # engine/trade_animation.asm # home/audio.asm # main.asm # maps/BattleTower1F.asm # maps/BattleTowerBattleRoom.asm # maps/BurnedTowerB1F.asm # maps/ElmsLab.asm # maps/GoldenrodDeptStore5F.asm # maps/GoldenrodUnderground.asm # maps/HallOfFame.asm # maps/MahoganyTown.asm # maps/ManiasHouse.asm # maps/MobileBattleRoom.asm # maps/MobileTradeRoomMobile.asm # maps/RadioTower2F.asm # maps/Route35NationalParkGate.asm # maps/Route36NationalParkGate.asm # maps/Route39Farmhouse.asm # tilesets/palette_maps.asm
2018-01-10Resolve #461Remy Oukaour
2018-01-09includes.asm → constants.asmRemy Oukaour
2018-01-02Consistent predef function namesxCrystal
2018-01-02Consolidate Special function namesxCrystal
2018-01-02More unreferenced labels cleanupxCrystal
2018-01-02Clean up Predef function namesxCrystal
2018-01-02Clean up XXX comments for unused contentxCrystal
2018-01-01Rename Pals labels in WRAM bank 5xCrystal
2017-12-30Use input constantsRemy Oukaour
2017-12-29FAST_TEXT_DELAY_FRemy Oukaour
2017-12-29Constants for TextBoxFlagsRemy Oukaour
2017-12-28Lowercase v for VRAM addressesxCrystal
2017-12-27; This is distinct from MAX_LEVEL.Remy Oukaour
2017-12-25Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % ↵Remy Oukaour
$100` or `X >> 8` and `X & $ff`
2017-12-24move rst.asm and interrupts.asm into home/yenatch
2017-12-24LoadEDTile → CopyTilemapAtOnce (fix #345)Remy Oukaour
2017-12-24Fix issue #345:Remy Oukaour
- GetMonFrontpic → GetEnemyMonFrontpic - GetMonBackpic → GetBattleMonBackpic - FrontpicPredef → GetAnimatedFrontpicPredef - GetFrontpic → GetMonFrontpic - GetBackpic → GetMonBackpic - CutAndPasteMap → PadMapForHDMATransfer
2017-12-24Renaming: (fix #412)Remy Oukaour
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
2017-12-24callba/callab → farcall/callfarRemy Oukaour
2017-12-22Split more code from home.asm into home/ filesRemy Oukaour
2017-12-16Move some more main.asm routines into individual filesRemy Oukaour
2017-12-15Correct some documentation commentsRemy Oukaour
2017-12-14Reorganize macrosRemy Oukaour
2017-12-11Keep table labels in the same files as their contents.Remy Oukaour