881 Commits

Author SHA1 Message Date
Narishma-gb e89ead154b Add some constants, minor cleanup (#166) 2026-09-02 11:23:57 -04:00
Alieneer e9feb04b65 Add FightDebugMenu labels and battle class constants (#165) 2026-09-01 22:24:12 -04:00
Rangi 2f25a18de3 Merge remote-tracking branch 'pokered/master' 2026-08-27 18:30:18 -04:00
Alieneer a1a22aaf84 Use constants for wIsInBattle values (#600) 2026-08-27 18:15:47 -04:00
Narishma-gb 079d1cc92f Fix some text formatting, constants, unreferenced local labels (#596) 2026-08-06 16:48:33 -04:00
PokefanMarcel 51cb4a12df Labels and constants for Surfing Pikachu minigame (#163) 2026-07-20 15:26:33 -04:00
Narishma-gb bd1b695bc2 Identify and refactor Pikachu PCM cry code and data (#162) 2026-07-18 15:54:48 -04:00
Yoann Fievez d150f7f4f4 Identify wPikachuSpawnStateFlags and wPikachuMapScriptFlags bits, and PIKAMOVEMENT_* constants (#158)
- Rename `wd471` to` wPikachuSpawnStateFlags`, with `BIT_PIKACHU_SPAWN_*` bits
- Rename `wd492` to `wPikachuMapScriptFlags`, with `BIT_PIKACHU_MAP_*` bits
- Introduce `PIKAMOVEMENT_*` constants for `ApplyPikachuMovementData`
- Refactor `BillsHouse` scripts and Pikachu/Bill movement data
2026-06-24 14:43:48 -04:00
CreamElDudJafar 9d4384f490 Use SOUND_MASK constant in TradeAnimCommon (#159) 2026-06-20 13:14:45 -04:00
Yoann Fievez 320b7c780a Rename wd49b to wPikachuEmotionModifier (#156)
This variable serves as an override for Pikachu's emotion following specific events like refusing a Thunder Stone. It is automatically cleared when its mood normalizes.
2026-06-14 17:01:53 -04:00
PokefanMarcel ee16bd72ee Relocate and use MAP_TILESET_SIZE (#586) 2026-06-08 11:50:47 -04:00
RainbowMetalPigeon 3d30055194 Document UpdatePikachuHappinessAndMood routine (#155) 2026-06-07 09:29:15 -04:00
PokefanMarcel dbfa875b34 Use MOVE_PP constant (#585) 2026-06-05 18:33:30 -04:00
Narishma-gb c3c71909c9 Fix comments in IsNextTileShoreOrWater (#152) 2026-05-24 09:56:30 -05:00
Engezerstorung 2463685fe3 Replace magic hex numbers in AnimationSubstitute destination addresses (#581) 2026-05-24 09:47:30 -05:00
Vortyne 5e6a9433ec Update elevator.asm (#582)
change comment, it *does* in fact have a visual effect in some cases
2026-05-24 09:42:13 -05:00
PokefanMarcel e69d98af67 Use SPRITE_FACING_* constants in spinners.asm (#584) 2026-05-24 09:40:19 -05:00
RazFerroo 256e85e27b Fix small typo in one_hit_ko.asm (#583) 2026-05-24 09:35:48 -05:00
dannye bfa7170107 Merge branch 'master' of https://github.com/pret/pokered 2026-04-15 12:05:52 -05:00
PokefanMarcel 3c814341c8 Relabel SFX_SILPH_SCOPE to SFX_TRAINER_APPEARED (#580) 2026-04-15 12:02:35 -05:00
kagnusdev e82e0ead50 Make DebugSetPokedexEntries automatically adapt to NUM_POKEMON changes (#576) 2026-04-06 14:55:39 -04:00
dannye bc2354dd66 Merge branch 'master' of https://github.com/pret/pokered 2026-01-17 22:38:33 -06:00
DrNyk 4e22af12bc Replace hard-coded numbers with constants in haze.asm (#564) 2026-01-17 16:42:12 -05:00
SnorlaxMonster 85b9d866c8 Align move grammar with pokecrystal (#565)
Add comments explaining the redundant move grammar categories inherited from the Japanese version.
2026-01-17 16:41:37 -05:00
Rangi 0e49aef88e Use macros to enforce "hidden object" constraints, and rename them to "hidden events" (#559) 2026-01-07 22:05:37 -05:00
Rangi fe1e76466b Use macros to enforce "missable/hide/show object" constraints, and rename them to "toggleable objects" (#557) 2026-01-07 22:05:20 -05:00
abcboy101 772ec10339 Identify characters in _OakSpeechText2B and Printer_GetMonStats.IDNo (#144) 2025-12-30 12:07:40 -05:00
Jordan Moore 0555b42dc0 Replace magic number $7 with SLP_MASK constant (#555) 2025-12-26 12:20:49 -05:00
Rangi d79c578abd Specify a max item length for list_start (#552) 2025-12-15 15:16:40 -05:00
Narishma-gb e9d3324bc0 Comment more unreferenced local labels (#550) 2025-12-15 15:14:17 -05:00
Narishma-gb 8bb03542bd Update StatusScreen, add *_STATS_BOX constants (#546) 2025-12-01 13:46:28 -06:00
Rangi 9a6bb3ed0c Define player and rival names once, to be used in two places (#545) 2025-12-01 11:00:56 -05:00
Narishma-gb 3a4382c605 Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543) 2025-11-27 13:39:25 -05:00
Rangi e92d1af478 Avoid magic numbers for most CopyData calls (#542) 2025-11-25 16:53:29 -06:00
Rangi 308189b638 Use ld_hli_a_string macro to make byte-by-byte strings more obvious (#540) 2025-11-23 21:19:21 -06:00
Narishma-gb f332678625 Use more hardware and graphics constants (#532)
- Use `OBJ_SIZE` and `TILE_SIZE` from hardware.inc.
- `SPRITESTATEDATA1_LENGTH`, `NUM_SPRITESTATEDATA_STRUCTS`
  and `TILE_1BPP_SIZE` are used in some places.
- Highlight an oversight in `OakSpeech` where several
  direct MBC bank switches are requested.
- Remove redundant comments in home/overworld.asm.
- Add unreferenced `FillBgMap` function to avoid a byte
  of dead code.
- Some constants added in wram.asm.
- Correctly separate the commented code in `SaveMainData`.
2025-11-18 15:17:31 -05:00
dannye 324ae167d1 Merge branch 'master' of https://github.com/pret/pokered 2025-11-12 17:56:10 -06:00
Rangi 5943b96cf6 Use features of RGBDS 1.0.0 (#537) 2025-11-12 15:44:07 -05:00
Rangi e3af20b907 Consistently use ld [hli]/ld [hld], not ldi/ldd 2025-10-05 10:53:31 -04:00
Rangi 628797baff Revise some RAM buffer constants 2025-09-26 16:55:23 -04:00
Narishma-gb d237b01cfb Misc. naming and cleanup (#139)
* Name some printer/diploma routines

* Name `wd434`

* Name `NAME_LENGTH_JP`

* Rename `callabd`/`calladb` to `farcall`/`callfar`
2025-09-10 00:31:11 -04:00
PokefanMarcel 108bf2981d Use RAMG_SRAM_ENABLE (#530) 2025-09-07 12:46:26 -04:00
dannye 377749ca4e Merge branch 'master' of https://github.com/pret/pokered 2025-09-06 16:54:17 -05:00
Narishma-gb d18d7089c7 Fix .tilemap file extension, fix some typos (#138) 2025-09-06 16:50:51 -04:00
Vortyne 8da7deb893 Update comment for clarity (#529)
Actually copies from battle struct to party struct to make HP and status changes to a pokemon permanent
2025-09-03 11:59:22 -04:00
Narishma-gb 4d2594cb24 Label and constant cleanup (#528)
* Label cleanup, add some constants instead of raw numbers

* Rename load/save game functions to be more explicit
2025-09-03 11:56:09 -04:00
Narishma-gb 126c3f3366 Document a bug in PrintBenchGuyText (#523) 2025-08-17 10:00:34 -04:00
Rangi 5e8b835ba3 Use dname macro to automatically pad names with "@" characters (#525) 2025-08-17 09:58:09 -04:00
PokefanMarcel 31fc2e229d Use <STAT>_UP1_EFFECT constants (#522) 2025-08-16 08:37:08 -04:00
Rangi42 1eb6f61d62 Identify JOYP_SGB_MLT_REQ constant 2025-08-11 16:35:07 -04:00