summaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2018-02-22Label wPokemonWithdrawDepositParameter of RemoveMonFromPartyOrBoxmid-kid
It takes a clearly different parameter, completely unrelated and different in function to PC_DEPOSIT and PC_WITHDRAW.
2018-02-22Fix TRUE/FALSE constants for CalcMonStatsmid-kid
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-02-20Use maskbits NUM_TYPESRangi
2018-02-15Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # maps/KrissHouse2F.asm
2018-02-14Label some daycare-related functionsmid-kid
2018-02-13Fix use of one constantmid-kid
2018-02-12CalcwBufferMonStats -> CalcBufferMonStatsmid-kid
The 'w' was probably added in some mass-replacement. It's completely irrelevant to the function itself and doesn't fit the PascalCase model.
2018-02-09Comment GeneratePartyMonStatsmid-kid
2018-02-07questionmark is not a pokemon picRangi
2018-02-05Remove commented G/S roaming Suicune codeRangi
2018-02-05Terser name for the does-nothing effectRangi
2018-02-05Off by oneRangi
2018-02-05No redundant item effect labelsRangi
2018-02-04Fix more w-izing edge cases.luckytyphlosion
2018-02-04Consistent "X percent [+/- Y]" orderRangi
2018-02-04Sync code with wikiRangi
2018-02-04Keep specials files togetherRangi
2018-02-04"chances" → "probabilities", since other files use that term and "changes" ↵Rangi
exists right next to it
2018-02-03Merge branch 'master' of github.com:pret/pokecrystalsurskitty
2018-02-03Macro factors out sine code, just like sine data, since it's used 5 timesRangi
2018-02-03Keep documentation in sync with new WRAM labelsRangi
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-02use "x + -1" not "x +- 1"Rangi
(TODO: use "x - 1" once rgbds allows it)
2018-02-02sine_wave macro parameterizes table size, not frequency ("amplitude" was an ↵Rangi
incorrect comment)
2018-02-02spriteface → objectface, consistent with the other script commandsRangi
2018-02-02Remove checkmorn/checkday/checknite macrosRangi
2018-02-02Script commands don't have underscoresRangi
2018-02-02Fix confusing labelRangi
2018-02-02Converting what I can to locals.surskitty
2018-02-01SCENE_DEFAULT=0 and SCENE_FINISHED=1 (generic constants for a common scene ↵Rangi
pattern)
2018-02-01Meaningful scene constant namesRangi
(Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event)
2018-01-31Add scene ID constants (TODO: meaningful names)Rangi
2018-01-31NPC trade constants don't all just start with TRADE_Rangi
2018-01-31Official egg group namesRangi
2018-01-31const_def NRangi
2018-01-31Correct engine flag constantsRangi
2018-01-30Clarify big doll-related constants (Snorlax and Lapras are symmetrical, Onix ↵Rangi
is not)
2018-01-30Comment values of special pointers, same as predefsRangi
2018-01-30wSpritesEnd -> wVirtualOAMEnd.luckytyphlosion
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-28Badge type boosts make sense in data/types/Rangi
2018-01-26use PAL_COLOR_SIZERangi
2018-01-26Sync documentation with codeRangi
2018-01-26Define more bit flag constantsRangi
2018-01-26Move-unique effect commands consistently go in engine/battle/move_effects/Rangi
2018-01-26Move power data belongs in data/moves/Rangi