Commit Graph

3612 Commits

Author SHA1 Message Date
dannye
bc2354dd66 Merge branch 'master' of https://github.com/pret/pokered
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-01-17 22:38:33 -06:00
Engezerstorung
c4f02f18de
Use macros for WildMonEncounterSlotChances (#562) 2026-01-17 16:42:57 -05:00
Narishma-gb
70f654bda7
Use map names with ToggleData* symbols (#563) 2026-01-17 16:42:34 -05: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
CreamElDudJafar
4c7ce81527
Document SFX event bug inside Rocket Hideout B1F (#566) 2026-01-17 16:41:04 -05:00
Rangi
059ae5d44c
Fix CI for Linux and add CI for macOS (#567) 2026-01-17 16:27:41 -05:00
Nishant Chatterjee
7e6fdbbda7
Do not compile tools with LTO 2026-01-07 22:09:42 -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
Rangi
2f76b969c3 Update RGBDS to 1.0.1 (although 1.0.0 still works) 2026-01-01 01:35:57 -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
Narishma-gb
3550c4c3fb
Convert some PNG graphics to 2-bit grayscale (#143)
Some checks failed
CI / build (push) Has been cancelled
2025-12-19 12:37:12 -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
Rangi
e1948fe4b3
Clarify how the order of map constants matters for the Town Map (#553) 2025-12-15 15:02:37 -05:00
Narishma-gb
8bb03542bd
Update StatusScreen, add *_STATS_BOX constants (#546) 2025-12-01 13:46:28 -06:00
Rangi
917a0ebf4d Correct comment 2025-12-01 14:13:46 -05:00
Rangi
7272d9bb8a Comment that farcall and callfar are interchangable 2025-12-01 13:58:30 -05: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
451b494284
Minor fix in Makefile, add one PIKACHU_SPRITE_INDEX (#141)
Some checks failed
CI / build (push) Has been cancelled
2025-11-22 11:13:55 -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
Rangi
123159cc39 Fix tools/unnamed.py
Some checks failed
CI / build (push) Has been cancelled
2025-11-15 18:17:32 -05:00
Rangi
70b5ab9399 Add _vc patch targets to .PHONY 2025-11-13 13:36:30 -05:00
dannye
324ae167d1 Merge branch 'master' of https://github.com/pret/pokered
Some checks failed
CI / build (push) Has been cancelled
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
Rangi42
8105df94a3 Use the same tools/make_patch.c as Gen 2
The `--ignore` flag is not needed in Gen 1
2025-11-12 13:42:41 -05:00
PokefanMarcel
c2d81fb598
Expand comment on _AfterTrade2Text to mention pokeyellow's changes (#536) 2025-11-06 14:06:33 -05:00
Rangi
bb7984e70b Separate surfing Pikachu graphics from audio engine code
Some checks failed
CI / build (push) Has been cancelled
Fixes #137
2025-10-19 14:30:22 -04: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
PokefanMarcel
59da8c8122
Clean up home/copy2.asm (#531)
* Use `SCREEN_WIDTH`, rename loop, and remove obsolete comment in `ClearScreenArea`

* Use `SCREEN_HEIGHT` and `lb` in `CopyScreenTileBufferToVRAM`

* Use `SCREEN_AREA` in `ClearScreen`
2025-09-10 15:48:30 -04:00
Narishma-gb
d237b01cfb
Misc. naming and cleanup (#139)
Some checks failed
CI / build (push) Has been cancelled
* 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
Some checks failed
CI / build (push) Has been cancelled
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
PokefanMarcel
b49679165e
Document visual glitch with Pewter City Gym guy (#526) 2025-09-03 12:01:15 -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
Rangi42
d98b5e6f02 Document where badge and elevator floor "items" are used 2025-08-28 19:22:16 -04:00
Rangi42
fd5dc11cfd Specify file extensions that make does not generate 2025-08-27 11:49:46 -04:00
CreamElDudJafar
6954a48db9
Use SFX_STOP_ALL_MUSIC (#136)
Some checks failed
CI / build (push) Has been cancelled
2025-08-17 20:17:51 -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
c51d1b7a1d List end markers (-1 aka $FF) are not part of table data 2025-08-13 15:09:12 -04:00