mid-kid
002b4e84f2
Use separate constants for wChosenCableClubRoom ( #1240 )
...
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
These numbers aren't related to the LINK_ values at all, it's just a
coincidence.
Changing these is an easy way for games to force incompatibility with
the original game.
2026-02-08 13:47:30 -05:00
SnorlaxMonster
7c3d2956cd
Consistently use Japanese control codes for Japanese strings ( #1222 )
2026-01-24 15:37:50 -05:00
Rangi
a55bc33d67
Use features of RGBDS 1.0.0 ( #1204 )
...
CI / build (push) Waiting to run
- Use single-quoted character literals or `CHARVAL` when you need
a character's numeric value; using strings as numbers is deprecated
- Use `?` to silence a node in warning/error location backtraces
- Use `===` and `!==` instead of `STRCMP`, and `++` instead of `STRCAT`
- Use `__SCOPE__` instead of checking for `..` and `.` separately
- Use `#string` instead of `"{string}"`
- All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings
- `rgbgfx --colors dmg` is short for `rgbgfx --colors dmg=e4`
2025-11-12 15:43:54 -05:00
Rangi42
fcd13b1298
Update hardware.inc to 5.3.0 and use its new constants
2025-08-11 16:01:32 -04:00
Rangi42
5abf8d01fb
Update hardware.inc to 5.1.0
2025-06-30 12:47:36 -04:00
Rangi
4c540aa43b
Replace hardware_constants.asm with the community-standard hardware.inc 5.0 ( #1186 )
2025-06-23 09:11:33 -04:00
Rangi42
99af3f4f3b
Identify some missed bit 7 menu flags
CI / build (push) Has been cancelled
2024-12-02 12:20:52 -05:00
Sylvie
644bd42fb0
Identify more bit flags ( #1153 )
CI / build (push) Has been cancelled
2024-11-29 19:29:30 -05:00
Sylvie
8819f7b117
Identify various "????"s ( #1125 )
2024-06-11 20:54:45 -04:00
Rangi42
b81e339f33
Use constants for VBlank handlers
2024-05-22 21:02:55 -04:00
Idain
4432df05cb
Add more assert cases in the codebase ( #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:17:07 -05:00
xCrystal
5be9856f3a
In labels, stick to Place for text without delay, and Print for text with letter delay ( #1078 )
2024-01-07 14:06:40 +01:00
xCrystal
bd6ceec193
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-07 13:36:05 +01:00
SnorlaxMonster
75f0ad3955
Correct macro for default Mystery Gift item ( #1084 )
...
Co-authored-by: SnorlaxMonster <snorlaxmonster@users.noreply.github.com>
2023-11-17 12:18:49 -06:00
SatoMew
768b3bdec1
Improve mobile-related labels ( #1061 )
2023-07-26 19:59:00 -05:00
mid-kid
354fefaefb
Use time capsule label for time capsule copies
2023-04-19 19:12:14 +02:00
mid-kid
a1e711b80d
Use more appropriate labels for link operations
2023-04-19 19:12:14 +02:00
mid-kid
4c4fd7258c
Define SERIAL_PATCH_PREAMBLE_LENGTH
2023-04-19 19:12:14 +02:00
mid-kid
5ae35e5770
Label wOTLinkBattleRNData
2023-04-19 19:12:14 +02:00
mid-kid
08cfbbb1d9
Document link patch lists a little bit better
2023-04-19 19:12:14 +02:00
mid-kid
c8e9a82190
Make wMysteryGift*GameVersion constants consistent
2023-04-19 19:12:14 +02:00
mid-kid
a6ac67dea2
IsMailEuropean → ParseMailLanguage (and give it constants)
2023-04-19 19:12:14 +02:00
vulcandth
cb8505e022
Define InitDefaultEZChatMsgs and sEZChatMessages ( #1022 )
2022-12-26 13:55:01 -05:00
Rangi
8e135931a6
Require rgbds 0.6.0
2022-10-02 22:03:53 -04:00
Colton G. Rushton
145d8dd5c2
wVirtualOAM -> wShadowOAM and hTransferVirtualOAM -> hTransferShadowOAM ( #971 )
2022-07-09 17:18:22 -04:00
vulcandth
1853f70add
VC ExchangeBytes Aliases
...
Co-Authored-By: aaaaaa123456789 <aaaaaa123456789@acidch.at>
2022-06-21 11:16:15 +02:00
vulcandth
3648afda16
RGBDS syntax updates ( #905 )
...
New MACRO and DEF syntax
2022-06-06 17:25:42 -04:00
vulcandth
a4d346cc8c
Improved Virtual Console patch identifiers ( #907 )
2022-06-06 17:22:48 -04:00
vulcandth
f9077c6db6
Additional vc_asserts ( #906 )
2022-04-16 20:42:06 -04:00
vulcandth
31c3c94d64
Build the Virtual Console patch with make crystal11_vc ( #882 )
...
Fixes #813
2022-03-12 18:34:04 -05:00
Rangi
e706b878d9
Use ~X instead of $ff ^ X
2021-11-23 20:37:18 -05:00
Rangi
4522162d45
Consistent labels for each nickname in RAM
2021-03-17 16:38:21 -04:00
Rangi
c1c609ec4a
Identify scrolling menu lists in WRAM
...
Fixes #809
2021-03-08 09:41:55 -05:00
Rangi
4401d24074
Identify link sync buffers, separate from link action bytes
...
Fixes #803
2021-02-22 12:02:52 -05:00
Rangi
99e66c2557
Rename some labels
...
- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"
Fixes #789
2020-12-23 16:29:30 -05:00
Rangi
6f226f584c
Identify link.asm WRAM labels based on ax6's research notes < https://pastebin.com/NTxjzKGQ >
2020-12-08 21:24:48 -05:00
Rangi
9b3c45b14d
Resolve some "???" comments
2020-11-17 11:09:02 -05:00
Rangi
17894e5f39
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
2020-11-09 15:20:40 -05:00
Rangi
c88c4a8340
Identify more uses of wBuffer1-6
2020-11-03 19:53:07 -05:00
Rangi
01d6e6c758
Group some link.asm code into "paragraphs"
2020-11-02 19:32:14 -05:00
Rangi
9ab9088a9f
Identify wLinkBattleRNPreamble
2020-11-01 13:42:12 -05:00
Rangi
6220200f0f
Identify some more labels, and make some more consistent
2020-11-01 12:36:38 -05:00
Rangi
1237156948
Identify mobile Name Card exchange labels
2020-10-30 10:45:31 -04:00
Rangi
7883e8f431
Define SERIAL_LINK_BYTE_TIMEOUT
2020-10-29 16:43:28 -04:00
Rangi
a51b1a2f13
Port more pokegold link engine symbols, and name an unused WRAM byte
2020-10-29 15:15:14 -04:00
Rangi
bcc0d633e9
Identify the remaining (non-mobile) uses of another WRAM union
2020-10-29 14:51:41 -04:00
Rangi
ea426a8879
Identify more WRAM labels, and start a <X>_DummyFunction label convention
2020-10-28 14:34:38 -04:00
Rangi
446f1846b1
Identify remaining Mystery Gift labels and constants
...
Source: https://projectpokemon.org/home/forums/topic/43930-mystery-gift-reverse-engineering-of-ir-protocol/
2020-10-27 23:09:06 -04:00
Rangi
9dcdad5e60
Comment, remove, or revise many unreferenced labels
2020-10-26 20:29:58 -04:00
Rangi
a2b6befd7d
Identify some more labels, mostly WRAM
2020-10-23 16:04:15 -04:00