summaryrefslogtreecommitdiff
path: root/home
AgeCommit message (Collapse)Author
2018-07-29Fix reviewed issues.Rangi
Pokedex_PrintListing has a comment noting how it depends on wCurSpecies == wNamedObjectIndexBuffer; an assert would be more convenient, but is not possible since WRAM label addresses are not defined yet here.
2018-07-29Make reviewed fixes; standardize on " + "Rangi
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-07-18Clean up TX_ commandsmid-kid
Some of the TX_ commands didn't use the TX_ prefix for their constants, and the label names were inconsistent. I've chosen to adopt the `TextCommand_` prefix as opposed to `Text_`, as it has a clear difference in namespace compared to the possibly-used `Text_` namespace for actual dialogue text.
2018-07-18Fix misnamed character codesmid-kid
Some character codes were erroneously named after their text command counterparts. This has caused a lot of confusion with naming their functions and with other things. I've also removed the `dict2` macro and expanded the `dict` macro. This really isn't something we should be doing for macros but I can't deny it looks a lot neater than repeated code.
2018-07-04Miscellaneous reorganization fixesRangi
2018-06-28Add more collision nybble constantsRangi
2018-06-27Use :: for all global labels, not the GLOBAL keywordRangi
2018-06-25No space between labels and bodiesRangi
2018-06-25Single newline at the end of filesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove more 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-06-04Use structure constants for channel_structmid-kid
2018-05-23Start improving sprite movement engine (to do: identify bit flags)Rangi
Introduce maskbits N[, S]: optionally shift the bitmask
2018-05-23Use constantsRangi
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-05-20adc a, 0 → adc 0; fix commentsRangi
2018-04-05Use constants for bit/set/res moreRangi
2018-04-05Move more code from home.asm into home/Rangi
2018-04-04Use constants for screen size in metatilesRangi
2018-03-19Relabel some map-related WRAMRangi
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}
2018-02-26* BillPhoneGeneriText -> BillPhoneGenericTextRangi
* data/phone/text/trainers1.asm -> data/phone/text/trainers.asm * ,ROM -> , ROM0
2018-02-15Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # maps/KrissHouse2F.asm
2018-02-04Fix more w-izing edge cases.luckytyphlosion
2018-02-03Macro factors out sine code, just like sine data, since it's used 5 timesRangi
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-02-03map → map_id; map_def → map; map_data → map_attributesRangi
2018-02-02Similar formatting for similar WRAM areasRangi
2018-01-30Fix wVirtualOAM labels, part 2.luckytyphlosion
2018-01-30Fix wVirtualOAM labels, part 1.luckytyphlosion
2018-01-30Fix comment/style issues caused from w-izing.luckytyphlosion
2018-01-26use PAL_COLOR_SIZERangi
2018-01-25Separate home/battle_vars.asm for easy data editing, same as home/hm_moves.asmRangi
2018-01-24Remove Special_ prefix from special routines (close #478)Rangi
2018-01-24Rename some routines to avoid conflicts when removing "Special_" prefixesRangi
2018-01-23Prefix wram labels with w, part 2.luckytyphlosion
2018-01-23Replace Stack with wStack.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-23wGameTimerPause bit flag constantsRangi
2018-01-23Cry headers and map headers were eliminatedRangi
2018-01-22PALETTE_SIZERangi
2018-01-22tile+color macros in gfx.asmRangi
2018-01-22wStatusFlags/2 bit constantsRangi
2018-01-22More engine flag constantsRangi
2018-01-20PARTY_LENGTH; MON_NAME; sgb_border.binRemy Oukaour