Commit Graph

470 Commits

Author SHA1 Message Date
vulcandth 1e1dbf842b VC ExchangeBytes Aliases
Co-Authored-By: aaaaaa123456789 <aaaaaa123456789@acidch.at>
2022-06-21 11:16:20 +02:00
Rangi a2ba900bf7 Rename search2.asm 2022-06-17 23:27:50 -04:00
vulcandth b81044d4b6 Document that farcall returns c in a for some code (#91) 2022-06-17 22:30:52 -04:00
vulcandth 6805c678ee Rename SLP to SLP_MASK (#84)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-06-17 22:25:55 -04:00
vulcandth 357a90f08f Remove redundant comments referencing labels (#85) 2022-06-06 17:34:51 -04:00
vulcandth 464c67ee73 RGBDS syntax updates (#78)
New MACRO and DEF syntax
2022-06-06 17:25:39 -04:00
vulcandth 2bab8a2946 Improved Virtual Console patch identifiers (#79) 2022-06-06 17:22:43 -04:00
vulcandth a88223d9b3 Correct Intro_UpdateTilemapAndBGMap values (#88) 2022-05-27 18:35:33 -04:00
Konrad Borowski 2b6134b436 Remove Heavy Ball never happens comment
It's not correct as Snorlax weights more than 409.6 kg.
2022-05-26 19:56:29 +00:00
vulcandth 1ee3020657 Add hSerialConnectionStatus vc_asserts (#77) 2022-04-17 12:35:38 -04:00
Rangi d0491ecb6e Use NUM_BATTLE_STATS instead of raw numbers 2022-04-08 17:11:05 -04:00
Rangi fa8e3334b3 Replace magic numbers with constants 2022-03-20 20:01:08 -04:00
vulcandth 3d58fb9556 Build the Virtual Console patches with make gold_vc and make silver_vc (#74) 2022-03-14 17:03:15 -04:00
Rangi fddd1c132b Identify some wMenuJoypad-related button constants 2022-03-09 19:42:31 -05:00
mid-kid c43b1f7194 Use constants for PartyAttr in move_effects/thief.asm 2022-02-15 18:52:44 +01:00
Rangi b74d56462c Clear however many bytes are needed for wFruitTreeFlags 2022-02-14 17:28:05 -05:00
Rangi a5d862057a Use VRAM_End in place of sScratch 2022-01-20 20:16:20 -05:00
Rangi 6149917db0 Better comments for enemy health percentage code 2022-01-10 21:25:24 -05:00
Rangi 2aba2b9ff0 Use time constants more often 2022-01-10 20:58:47 -05:00
Rangi 944d0e5303 Identify why five of six enemy mon base stats are copied 2022-01-08 14:02:54 -05:00
Rangi 697093f787 Identify some overworld movement data 2021-12-22 21:38:24 -05:00
Rangi 14a21880a0 Use ~X instead of $ff ^ X 2021-11-23 20:50:17 -05:00
Rangi 05130829f9 Add assertions to some more tables 2021-10-24 18:28:38 -04:00
Rangi 7ec200353e Add table assertions to slot machine data 2021-10-15 22:14:58 -04:00
Rangi 24eafe25aa Add assert PokemonPicPointers == UnownPicPointers in GetFrontpic 2021-10-06 17:44:37 -04:00
Rangi dc1a06ba05 and 50 percent -> and %011111111 2021-09-26 22:13:24 -04:00
Rangi 30d8a72d84 Use EFFECTIVE constant for 1.0× battle damage 2021-09-26 22:04:08 -04:00
Rangi c91db56f42 Identify more palettes in CBG layouts 2021-07-19 18:59:11 -04:00
Rangi db4817ed1b Fixing comments in BattleCommand_Teleport 2021-06-20 10:59:17 -04:00
Rangi 3eda24dc47 Standardize capitalization of ".Jumptable" 2021-06-19 19:52:07 -04:00
TheFakeMateo a9dd70cc35 Fix incorrectly swapped constants in Players PC 2021-06-08 22:43:52 -06:00
Rangi 4fd14d6bbd Rename prioritysjump to sdefer 2021-06-08 20:38:56 -04:00
Rangi 1f0b578ced MON_PKRUS -> MON_POKERUS 2021-06-07 20:00:24 -04:00
Rangi 6f11782f63 "ld [MON_LEVEL], a" in ComputeNPCTrademonStats should be "ld [wCurPartyLevel], a" 2021-06-07 19:37:58 -04:00
Rangi c133efea5f Add more comments to tileset palette animation functions 2021-05-30 23:32:07 -04:00
Rangi 43f9f529fa Move the dbbw, dbww, and dbwww macros to legacy 2021-05-30 15:57:58 -04:00
Rangi 65d1e12d6a Require rgbds 0.5.1
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-05-09 12:47:43 -04:00
Rangi 2a9ae6ecef Use {interpolation} to generate sequences of RAM labels
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-04-27 12:30:04 -04:00
Rangi 5f2d610345 SPECIAL -> UNUSED_TYPES_END 2021-04-26 12:00:42 -04:00
Rangi 40dbe0df04 Use rgbds 0.5.0 2021-04-20 21:17:09 -04:00
Rangi 9d5121ba9a Sync some files with pokecrystal 2021-03-24 10:24:54 -04:00
Rangi b299b8954f Consistent comments in the tileset animation engine 2021-03-23 20:57:44 -04:00
Rangi ea59f5ee47 Miscellaneous cleanup 2021-03-22 16:41:10 -04:00
Rangi aa3a3224c6 Use numeric constants in text strings with "{d:interpolation}" 2021-03-21 18:14:36 -04:00
Rangi 381a4b443b Assert the sBox1-14 tables have NUM_BOXES entries 2021-03-21 17:47:50 -04:00
Rangi afd42efb60 Consistent labels for each nickname in RAM 2021-03-17 16:38:30 -04:00
Rangi d1167570cc Assert some more table widths 2021-03-17 11:37:55 -04:00
Rangi 2bc8cf5fc1 Revise some constant definitions 2021-03-16 18:08:25 -04:00
Rangi 591132ace5 $11 = wTempMonStructEnd - wTempMonLevel 2021-03-15 15:40:50 -04:00
Rangi dc17d58170 Verify script command table sizes 2021-03-11 16:31:40 -05:00