Commit Graph

825 Commits

Author SHA1 Message Date
dannye ca019eac8f Merge branch 'master' of https://github.com/pret/pokered 2025-07-02 21:15:13 -05:00
Rangi42 78e44a8fb1 Use combined hardware constants 2025-06-30 13:45:24 -04:00
Rangi 56c405de09 Replace hardware_constants.asm with hardware.inc (#511) 2025-06-30 12:47:22 -04:00
Rangi42 fcb61ae0e4 Distinguish single trainer pics section from Pokemon pics 2025-06-25 23:59:47 -04:00
dannye fd043a66c2 Fix typos 2025-06-03 23:48:35 -05:00
Rangi b4bae4a5d5 Add a CANNOT_MOVE constant (#508) 2025-05-31 15:08:23 -04:00
dannye 4500fe4296 Use more ldpikacry 2025-05-25 19:46:44 -05:00
dannye 2c74f137fc Merge branch 'master' of https://github.com/pret/pokered 2025-05-10 12:25:27 -05:00
Vortyne d7de1595c0 Fix sprite data comment (#507)
Reduces confusion if someone edits this file since the wrong byte was commented
2025-05-09 18:47:29 -04:00
Narishma-gb 0ecc36c83a Use constants in PrintBCDNumber calls (#503) 2025-04-08 22:17:32 -05:00
SatoMew cf73d6ee0f Further improve NPC trade labels and comments (#493) 2025-04-08 22:17:12 -05:00
edave64 e1b7b8af0a Use constants for PP masks instead of magic numbers (#504) 2025-04-02 10:49:15 -04:00
Rangi 147914d179 Use constants for trade text indexes (#501) 2025-03-08 11:16:42 -05:00
Rangi b460637b81 Avoid using EQUS when EQU or MACRO will do (#496) 2025-02-27 13:07:17 -05:00
dannye 6cb885a9f6 Merge branch 'master' of https://github.com/pret/pokered 2025-01-30 21:40:19 -06:00
Narishma-gb 43f21cc494 Fix some label typos, and add some constants instead of raw numbers (#492) 2025-01-30 17:26:55 -05:00
SatoMew 79518a602e Consistently refer to CGB, not GBC (#491) 2025-01-30 17:13:40 -05:00
Rangi ec37f6117d Consistently capitalize ASSERT directives (#489) 2025-01-28 23:31:27 -05:00
Rangi afb8990169 Miscellaneous cleanup (#488)
Co-authored-by: SatoMew <SatoMew@users.noreply.github.com>
2025-01-28 23:31:15 -05:00
Engezerstorung 96fc617c69 Correct wTileMapBackup declared space (#487) 2025-01-28 12:08:12 -05:00
Engezerstorung 636e1192f6 Identify unnamed functions in map_sprites.asm (#126)
Also fix a label name
2025-01-23 19:08:38 -05:00
Rangi42 f023c68417 Use EFFECT_1E 2024-12-27 20:27:34 -05:00
Rangi f8a7ac34b9 Don't pass redundant label names to table_width and list_start (#125) 2024-12-27 12:52:30 -05:00
Rangi cd647df3b5 Don't pass redundant label names to table_width and list_start (#484) 2024-12-27 12:52:24 -05:00
Rangi cde1cb7b1f Use RGBDS 0.9.0 (#123) 2024-12-25 21:24:25 -05:00
Rangi cd1065b7a9 Use RGBDS 0.9.0 (#482) 2024-12-25 21:24:21 -05:00
Rangi42 47b784a4fb Merge branch 'master' of https://github.com/pret/pokered 2024-12-25 16:53:04 -05:00
Rangi42 a59c2bbaf9 Use SERIAL_RNS_LENGTH in BattleRandom 2024-12-21 21:04:36 -05:00
Rangi42 67084c9d26 Remove redundant parentheses 2024-12-16 10:35:55 -05:00
Rangi42 ff76bba507 Use "gray", not "grey"
This matches the in-game text, e.g. Pewter is "A Stone Gray City"
2024-12-16 10:29:59 -05:00
Sylvie f801d67f8e Assert the relations between some move effect constants (#478) 2024-11-24 19:13:11 -05:00
TiKevin83 6e94bc3d76 Fix comments around battle evolution code (#120)
the bug that allows item evolutions to happen after battles is patched here in Yellow where it isn't in Red/Blue. Updated a comment to reflect this.
2024-11-17 22:03:46 -06:00
dannye 942c5f13ea Merge branch 'master' of https://github.com/pret/pokered 2024-10-09 21:56:57 -05:00
Vortyne 678d014aef FreezeEnemyTrainerSprite -> SetEnemyTrainerToStayAndFaceAnyDirection 2024-10-07 12:03:26 -04:00
Vortyne 1aa3fb24ec dbsprite is the wrong macro for WriteOAMBlock data (#472) 2024-09-29 18:54:41 -04:00
dannye 716f8608c1 Rename off-by-one wram labels 2024-09-29 10:50:46 -05:00
Sylvie 7d9858fec4 Identify more bit flags (#119)
* Identify more bit flags

* Bit serves dual use in debug mode
2024-09-29 10:24:35 -05:00
Vortyne af36156a5b This byte is written to, but not used (#471)
it's written to in init_player_data.asm

```
	ld hl, wObtainedBadges
	ld [hli], a
	ld [hl], a
```
2024-09-25 22:02:15 -05:00
dannye a02a98ee7a Merge branch 'master' of https://github.com/pret/pokered 2024-09-25 00:45:00 -05:00
Sylvie 635b9c4cab Identify wCurrentMapScriptFlags bits (#467) 2024-09-24 11:39:44 -04:00
Sylvie 6ae63a8cea Identify hardware register bits (#469) 2024-09-24 10:48:10 -04:00
Sylvie b5d2540e7c Identify more bit flags (#465)
* Identify more bit flags

* Space
2024-09-24 09:33:33 -04:00
Vortyne c3f297e98b Fix comment: Road -> Roar (#466) 2024-09-24 07:32:47 -05:00
Sylvie 8f1dcf07e5 Identify more flag bits (#464) 2024-09-23 23:51:44 -04:00
Sylvie 5a622f628d Identify remaining uses of wd0b5 and wd11e (#463) 2024-09-18 21:41:58 -04:00
Sylvie 613d34678b Split hSpriteIndexOrTextID into hSpriteIndex and hTextID (#462)
Also identify `wPPUpCountAndMaxPP`
2024-09-18 21:01:18 -04:00
Vortyne 1f6e2bf999 Use correct label in get_trainer_name.asm (#461) 2024-09-09 20:22:58 -04:00
Sylvie 77d051479b Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457) 2024-08-04 10:05:33 -04:00
Sylvie 6e3ab0a9e9 Identify wcd6d as wNameBuffer and others (#455) 2024-07-24 12:21:59 -04:00
Sylvie 8fafca714c Identify various flag labels and bit constants (#454) 2024-07-16 13:02:54 -04:00