summaryrefslogtreecommitdiff
path: root/wram.asm
AgeCommit message (Collapse)Author
2018-08-26Explain wCreditsBlankFrame2bppRangi
2018-08-26wCreditsFaux2bpp -> wCreditsBlankFrame2bpp, with the right buffer sizeRangi
Remove some unused WRAM labels
2018-08-25Use rgbasm's GameBoy graphics literal for initializing wCreditsFaux2bppRangi
In the 2BPP format, two bytes %ABCDEFGH %abcdefgh define eight pixels %Aa %Bb %Cc %Dd %Ee %Ff %Gg %Hh. Four valid colors: %00 = 0 = white, %01 = 1 = dark, %10 = 2 = light, %11 = 3 = black. Thus `22222222 = pixels %10 %10 %10 %10 %10 %10 %10 %10 = bytes %11111111 %00000000 = $ff00.
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-07wWeeklyFlags -> wDailyFlags2mid-kid
These are by far not always checked each week, and as such shouldn't be called that. Since they're almost always used through the `bit` instruction, it's very inconvenient to just make wDailyFlags a `dw` instead.
2018-07-29No wCurMove alias for wCurSpeciesRangi
2018-07-29wSwitchMonRangi
2018-07-29wLuckyNumberDigitsBufferRangi
2018-07-29Improve wTrainerHUDTiles usageRangi
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-27Crystal fixed TruncateHL_BC in single playerRangi
2018-07-23wPokeAnimStruct matches wPokeAnimStructEndRangi
2018-07-18Label more mobile WRAMmid-kid
Memes and a pipedream of a fully-documented wram.
2018-07-13Correct wTradeFlags lengthRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-23wMartItemBCDEnd is unusedRangi
2018-06-12Note which labels are only needed for locating banks (relevant to issue #485)Rangi
2018-05-23Use SPRITE_VARSRangi
2018-04-05Use constants for bit/set/res moreRangi
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-25Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # constants/map_constants.asm # constants/wram_constants.asm # data/radio/oaks_pkmn_talk_routes.asm # data/radio/pnp_hidden_places.asm # engine/battle/core.asm # engine/breeding.asm # engine/phone/phone_scripts.asm # engine/radio.asm # maps/BattleTower1F.asm # maps/OlivineLighthouse2F.asm # maps/OlivineLighthouse6F.asm # maps/PokemonFanClub.asm # maps/RadioTower1F.asm # maps/RadioTower2F.asm # maps/Route30BerryHouse.asm # maps/Route34IlexForestGate.asm # maps/Route36NationalParkGate.asm # maps/RuinsOfAlphKabutoChamber.asm # maps/RuinsOfAlphResearchCenter.asm # maps/VermilionPort.asm # maps/VictoryRoad.asm
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-03db/dw, and keep unused space away from 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-02Similar formatting for similar WRAM areasRangi
2018-01-31MobileTradeRoom matches MobileBattleRoomRangi
2018-01-30wSpritesEnd -> wVirtualOAMEnd.luckytyphlosion
2018-01-30Fix wVirtualOAM labels, part 2.luckytyphlosion
2018-01-30Fix comment/style issues caused from w-izing.luckytyphlosion
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-23wMenuData3 → w2DMenuDataRangi
2018-01-23MenuDataHeader → MenuHeader, MenuData2 → MenuData (might complete issue ↵Rangi
#440)
2018-01-23wGameTimerPause bit flag constantsRangi
2018-01-23Struct macros should have their main label outside the macroRangi
2018-01-23EcruteakHouse → EcruteakTinTowerEntranceRangi
2018-01-22KrissHouse → PlayersHouseRangi
2018-01-22wStatusFlags/2 bit constantsRangi
2018-01-22More engine flag constantsRangi
2018-01-22More engine bit flag constantsRangi
2018-01-22Day-Care bit flagsRangi
2018-01-21Comment on wGBCOnlyDecompressBuffer sizeRemy Oukaour
2018-01-21wGBCOnlyDecompressBufferRemy Oukaour
2018-01-216 → PARTY_LENGTHRemy Oukaour
2018-01-20PARTY_LENGTH; MON_NAME; sgb_border.binRemy Oukaour
2018-01-18Compute wc7e8 sizeRemy Oukaour
2018-01-18Eliminate wd000Remy Oukaour