133 Commits

Author SHA1 Message Date
Narishma-gb 62388c7204 Update some URLs, add a few constants (#152) 2026-09-29 10:55:54 -04:00
Rangi f9b388bafa Use for loops to declare dw sequences 2026-06-07 01:39:49 -04:00
Rangi 9ca05ca3fc Correct some map object-related constant names and a comment 2026-06-07 01:39:27 -04:00
Rangi a3dd44d76e Use hardware.inc OAM offset constants for overworld map objects 2026-01-20 19:12:08 -05:00
Rangi d2c9e2d74f Use features of RGBDS 1.0.0 (#138) 2025-11-12 15:44:00 -05:00
Linus Unnebäck 9b3df7e0d6 Inline NoSwarmWildmon label (#134) 2025-08-15 16:08:50 -04:00
Rangi42 b03ba1a549 Update hardware.inc to 5.1.0 2025-06-30 12:47:34 -04:00
Rangi f57be98873 Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#130) 2025-06-23 09:11:35 -04:00
Rangi 3affb23969 Don't pass redundant label names to table_width and list_start (#126) 2024-12-27 12:35:41 -05:00
Sylvie 7ebc4324db Identify more bit flags (#120) 2024-11-28 14:50:00 -05:00
Sylvie 98d728262f Identify various "????"s (#116) 2024-06-11 20:54:43 -04:00
Idain a62dfe8548 Add more assert cases in the codebase (pret/pokecrystal#1115)
* Add assert for FACING_GRASS_1 and FACING_GRASS_2

* Add more assert cases

* Add assert for HP bar colors

* Assert LINK_NULL == 0

* Fix assert syntax

* Add asserts for WILD_BATTLE == 1

* Add additional WILD assert

- I need to sleep more...

* Revert asserts for WILD_BATTLE and LINK_NULL

* Commit suggested changes

* Add more assert cases

* Fix syntax error
2024-04-27 12:23:02 -05:00
vulcandth 202797a008 Fix/update sprite y-coord offscreen definitions (pret/pokecrystal#1108) 2024-04-14 16:09:18 -05:00
xCrystal 257d56018d Address PR suggestions (#1078) 2024-01-30 00:42:08 +01:00
xCrystal df10c9ea1a Fix inaccurate denotations to the concepts of tile, tile collision, and collision permission (#1078) 2024-01-30 00:41:51 +01:00
xCrystal 59642837e9 more accurate script names: refreshscreen -> reanchormap, and reloadmappart -> refreshmap (#1078) 2024-01-30 00:41:00 +01:00
xCrystal f035cd599c Rename wVramState to wStateFlags and use flag constants (#1078) 2024-01-30 00:35:14 +01:00
xCrystal aac0d97362 Improve some innacurate function names, labels, and comments (#1078)
[https://github.com/pret/pokecrystal/issues/1078#issuecomment-1872396250]
2024-01-30 00:27:27 +01:00
xCrystal c0812ca008 Improve some innacurate function names, labels, and comments (#1078)
[https://github.com/pret/pokecrystal/issues/1078#issue-1869550979 and https://github.com/pret/pokecrystal/issues/1078#issuecomment-1696394371]
2024-01-30 00:26:13 +01:00
Tiddlywinks 1a5c2b0414 1) Fix DECOFLAG order. 2) The doll is Staryu, not Starmie (and the sprite can be either) 2023-09-13 08:07:13 +02:00
Idain 63d552f6e5 Replace magic numbers with TILE_WIDTH (pret/pokecrystal#1056)
* Replace magic numbers with TILE_WIDTH

* Address more instances
2023-07-27 10:51:54 -05:00
vulcandth 3edd4eb48d Rename PAL_NPC_SILVER to PAL_NPC_EMOTE (pret/pokecrystal#1053) 2023-06-01 12:54:49 +00:00
vulcandth d36f220b90 Relabel some map_object struct fields 2023-01-03 22:15:15 -06:00
vulcandth b82653d62c TrainerWalkToPlayer should reference wSeenTrainerDistance (#1020) 2022-11-22 20:05:59 -06:00
vulcandth a769f6f9ca .CheckNPC label and comment correction 2022-11-09 14:00:58 +01:00
Rangi 42ba9bbbe1 Require rgbds 0.6.0 2022-10-02 21:52:02 -04:00
Rangi bdb6ae85e0 Rename the object_struct field labels and constants (#105) 2022-09-12 09:15:49 -04:00
Colton G. Rushton 99fd84eba6 wVirtualOAM -> wShadowOAM and hTransferVirtualOAM -> hTransferShadowOAM (#99) 2022-07-09 17:18:21 -04:00
vulcandth 4c95a9a708 Clean up bugs commented in the source code (#89)
Co-Authored-By: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-07-09 16:12:32 -05:00
vulcandth b81044d4b6 Document that farcall returns c in a for some code (#91) 2022-06-17 22:30:52 -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 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
Rangi 2aba2b9ff0 Use time constants more often 2022-01-10 20:58:47 -05:00
Rangi 14a21880a0 Use ~X instead of $ff ^ X 2021-11-23 20:50:17 -05:00
Rangi 3eda24dc47 Standardize capitalization of ".Jumptable" 2021-06-19 19:52:07 -04:00
Rangi 4fd14d6bbd Rename prioritysjump to sdefer 2021-06-08 20:38:56 -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 ea59f5ee47 Miscellaneous cleanup 2021-03-22 16:41:10 -04:00
Rangi d1167570cc Assert some more table widths 2021-03-17 11:37:55 -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
Rangi f9431c6aab Merge pull request #69 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
2021-03-08 07:01:30 -08:00
Rangi abfe4f96ee Identify scrolling menu lists in WRAM 2021-03-08 09:45:51 -05:00
Rangi 5454e1e0de Verify data table sizes with table_width and assert_table_length macros
It also uncovered some off-by-one issues with defining some constants.

A few structs now use rsreset/_RS to define their offset constants.
2021-03-05 16:10:25 -05:00
Rangi 51aa06097f Rename GetFarHalfword to GetFarWord 2021-01-09 15:16:20 -05:00
Rangi ed133f5c9a Remove "Buffer" suffix from two HRAM labels 2020-12-23 16:54:26 -05:00
Rangi 524f57703f Rename some labels
- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"
2020-12-23 16:46:49 -05:00