Commit Graph

399 Commits

Author SHA1 Message Date
xCrystal
236519fc55 Documentation 2023-08-29 18:52:51 +02:00
xCrystal
fd6f02036e Improve some innacurate function names from pokecrystal 2023-08-28 13:30:13 +02:00
xCrystal
a5feb38470 Documentation 2023-08-17 18:09:29 +02:00
xCrystal
db26480ffd Documentation 2023-08-12 21:12:26 +02:00
Damien Doury
1674b6ca5a
Fixed the wrong CheckHiddenOpponent bugfix (#1046) 2023-04-06 12:05:59 -04:00
mid-kid
18efb2fab3 Document scripting engine fix for MBC30 2023-02-25 11:52:44 +01:00
vulcandth
b232b4be5f
Bug: PRZ and BRN stat reductions don't apply to switched Pokémon (#1021)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-12-01 16:54:01 -05:00
Rangi
8e135931a6 Require rgbds 0.6.0 2022-10-02 22:03:53 -04:00
Rangi
41d5ea0482
Rename the object_struct field labels and constants (#1005)
Fixes #990
2022-09-12 09:15:44 -04:00
vulcandth
4c239a6f65
Rename macros/wram.asm to macros/ram.asm (#1003) 2022-09-11 01:05:07 -04:00
vulcandth
57a23299fb
Use DEF for constants in Music IDs design flaw doc 2022-09-09 10:26:05 -05:00
vulcandth
ae79200b1d
Remove duplicate BUG comment in bug doc diff 2022-09-08 20:33:56 -05:00
Rangi
5d629f9b31 Fix diff 2022-08-31 19:14:20 -04:00
Idain
01dffba788
Document fish bug properly (#995) 2022-08-31 18:13:10 -05:00
Rangi
c7dee19a48 Match bug docs with source code
Fixes #997
2022-08-31 17:56:00 -04:00
vulcandth
9801b93906 Add Bug comment for fishing/surfing on NPCs
Also this re-orders `FishFunction:` and `SurfFunction:` in the bug doc, since `SurfFunction:` is encountered in the file first.
2022-08-31 00:43:12 -05:00
Rangi
b764a3a84d Document fix for fishing and Surfing on top of NPCs
Fixes #994
2022-08-30 17:06:12 -04:00
The Void
38cd2155df
Bug Doc: Options menu fails to clear joypad state on initialization (#984) 2022-08-11 23:28:35 -05:00
vulcandth
c3331eb7b1
Rename scene and callback labels (#981)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-08-09 18:04:18 -04:00
vulcandth
134f45b71d
Fix Bug doc Ruins of Alpha Heading Size 2022-08-08 14:28:36 -05:00
Rangi
8826d97ee4
Define scene constants alongside scene_scripts (#979)
Generic SCENE_DEFAULT and SCENE_FINISHED are legacy values
2022-07-29 17:43:10 -04:00
Colton G. Rushton
78d93a6246
urlencode special characters like 'é' in documentation link anchors (#976) 2022-07-21 18:48:28 -05:00
vulcandth
ef9b9bb437
Clean up bugs commented in the source code (#912)
Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
2022-07-09 16:12:02 -05:00
Colton G. Rushton
bd27c0d8dc
Add documentation for the caught level design flaw (#933)
Co-authored-by: vulcandth <vulcandth@gmail.com>
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-07-09 14:39:07 -04:00
Rangi
a2e8f078a4 Split "gfx anims" into "pic anims" and "sprite anims"
Fixes #876
2022-07-04 01:11:42 -04:00
Colton G. Rushton
2adcca003f Fix ending colon of TruncateHL_BC
As spotted by @Rangi42 in #746
2022-06-21 14:12:29 +02:00
Rangi
a1498e63e2 Rename search.asm and search2.asm 2022-06-17 23:27:53 -04:00
Colton G. Rushton
5dd6985e8f
Update the footprints fix for latest pokecrystal (#940)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-06-17 22:41:43 -04:00
vulcandth
5f0597e944
Rename SLP to SLP_MASK (#918)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-06-17 22:25:56 -04:00
vulcandth
3648afda16
RGBDS syntax updates (#905)
New MACRO and DEF syntax
2022-06-06 17:25:42 -04:00
Konrad Borowski
6e3f2a47bd Remove Heavy Ball never happens comment
It's not correct as Snorlax weights more than 409.6 kg.
2022-05-26 19:56:07 +00:00
Rangi
c8e65a6e6b "acceped" -> "accepted"
Fix #910
2022-04-19 18:12:02 -04:00
Rangi
5a7ddb3272 Port and document make_patch.c features needed for pokered 2022-03-26 17:22:09 -04:00
Idain
5206ac6836
Document Day Care Exp bug (#895) 2022-03-20 20:43:10 -04:00
Idain
91fa3dd9b9
Replace flawed Metal Powder bugfix (#890) 2022-03-14 22:53:38 -04:00
Idain
3bb94e4928
Solve issue with Full Heal text bugfix (#887)
Fixes #818
2022-03-13 01:46:04 -05:00
Rangi
c34add7e08 Slightly reformat the vc_patch.md docs 2022-03-13 00:33:49 -05:00
Rangi
732acf1d4f Allow {patch offset length} (necessary for pokegold) 2022-03-12 22:50:42 -05:00
Rangi
f33a041930 Allow alternate labels for patch names 2022-03-12 22:38:29 -05:00
vulcandth
31c3c94d64
Build the Virtual Console patch with make crystal11_vc (#882)
Fixes #813
2022-03-12 18:34:04 -05:00
Rangi
2910b9a6c2 Rename GetPokedexEntryBank to HeavyBall_GetDexEntryBank 2022-02-22 17:11:33 -05:00
Rangi
0817dee42c Fix heading 2022-01-24 21:57:55 -05:00
Idain
e949477089
Document Return/Frustration bug and its fix (#872)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-01-24 20:48:21 -05:00
Idain
597701f168
Document fix for game freezing while switching mon (#869)
Fixes #868

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-01-10 21:32:41 -05:00
Rangi
418c70a8af Don't require a boolean trainer flag for givepoke
Fixes #865
2022-01-10 21:16:34 -05:00
Rangi
039addcb00 Clarify documentation for dorepeat
Fixes #859
2022-01-10 21:01:03 -05:00
Idain
288532131b
Document fix for hatching Unown eggs (#863)
All `diff` lines should start with `+`, `-`, or space, even when a tab comes after

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2021-12-31 11:53:54 -05:00
mid-kid
c65325491d Fix Berserk Gene confusion count in docs/bugs_and_glitches.md
Thanks to Major_Agnostic#4555 and Idain#2857
2021-11-30 18:57:04 +01:00
Rangi
ab0f9c287a Use compound assignment operators 2021-11-23 20:18:08 -05:00
Rangi
753ed7186c Use -1 for terminating happiness probability data 2021-10-28 17:02:13 -04:00
Rangi
81f0cacefb Clarify how Yellow updated catch rates for Gen 2 items 2021-10-15 17:10:57 -04:00
mid-kid
9a83f78980 Clarify table_width edit for PokedexDataPointerTable
Thanks to @Vendily
Fixes #854
2021-10-13 21:40:36 +02:00
Rangi
bd45cfd5fd Add assert PokemonPicPointers == UnownPicPointers in GetFrontpicPointer 2021-10-06 17:44:34 -04:00
Rangi
960642ce73 Fix #804: update "Clair can give TM24 Dragonbreath twice" 2021-09-05 12:52:01 -04:00
Rangi
8059d0c845 Clean up the recently documented bug fixes 2021-09-05 12:44:49 -04:00
Colton G. Rushton
35f6b6e68c
Add multiple design flaw fixes (#848)
Fixes https://github.com/pret/pokecrystal/issues/814
Fixes https://github.com/pret/pokecrystal/issues/805
2021-09-05 12:16:06 -04:00
Colton G. Rushton
b9684565fb
Minor formatting fix to the Sunny Day moves fix (#851)
Builds on top of #849
2021-09-05 12:09:39 -04:00
Colton G. Rushton
b49f5ac73b
Add fix for Sunny Day moves used by the "Smart" AI (#849)
Fixes https://github.com/pret/pokecrystal/issues/807
2021-09-03 19:37:56 +00:00
Nescientist
80a3f7e1ba
Fixing comments in BattleCommand_Teleport 2021-06-20 10:56:11 -04:00
Rangi
e4d82e92d0 Rename prioritysjump to sdefer 2021-06-08 20:35:04 -04:00
Rangi
dc18e188b2 Sync some files with pokegold 2021-03-24 10:24:52 -04:00
Rangi
4522162d45 Consistent labels for each nickname in RAM 2021-03-17 16:38:21 -04:00
ElectroDeoxys
9c17fb14c8
Document AI redundant bug (#802)
Document AI_Redundant Future Sight bug
2021-03-03 17:17:57 -05:00
Rangi
7d3ea88611 Rename GetFarHalfword to GetFarWord
Fixes #796
2021-01-09 15:16:05 -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
Neil Basu
9248dbc472 move statupmessage above checkfaint in Attack and DefenseUpHit documentation 2020-12-20 21:41:13 -08:00
Rangi
49458edf94
Edit wording and diff format 2020-12-18 09:25:49 -05:00
Neil Basu
cfc9bf5a33 shorten documents on stat up hit effects 2020-12-14 22:34:10 -08:00
Neil Basu
5dc8c92d83 Document fix for StatUpHit effects when opponent is KO'd 2020-12-14 20:17:21 -08:00
Rangi
098903fc97 FarString -> PlaceFarString, and document a BrokenPlaceFarString bug 2020-12-07 13:32:08 -05:00
Rangi
4ef556cbc8 Document AI_Smart_Conversion2 bug (resolves #786) 2020-12-07 13:13:03 -05:00
Rangi
4613bcfadf Use STRING_BUFFER_LENGTH for the wStringBuffers 2020-11-24 20:11:17 -05:00
Rangi
a831b34e5c Identify some uses of wBuffer1-6 in new Crystal code 2020-11-03 22:52:50 -05:00
Rangi
bcc0d633e9 Identify the remaining (non-mobile) uses of another WRAM union 2020-10-29 14:51:41 -04:00
Rangi
f954c61668 Remove incomplete fix for the save corruption bug 2020-10-21 21:54:44 -04:00
Rangi
034729bdfe Note that the map connection Surf bug fix will change the movement speed 2020-09-27 12:46:42 -04:00
Rangi
1357e0d674 Fix #769: document the Heavy Ball weight bank bug 2020-09-27 12:39:27 -04:00
Rangi
e9767dcfa8 More optimal fix for the experience underflow bug 2020-09-27 12:31:59 -04:00
Rangi
cf37abd3ec Remove wKickCounter and wPresentPower aliases for wBattleAnimParam 2020-08-29 20:35:49 -04:00
Rangi
622eeb5439 Group bugs and glitches by category 2020-08-29 19:54:57 -04:00
Rangi
5ccae8a69c Fix #767: Clarify battle moves menu bug behavior 2020-08-29 12:52:12 -04:00
Rangi
77d97a04d5 Note possibly intentional "bugs" 2020-08-28 21:38:46 -04:00
Rangi
cab4cd10b0 Close #763 and #764: document two more bugs/oversights 2020-08-28 14:31:49 -04:00
Rangi
7233c19f57 Add a template for maps/*.asm 2020-08-13 14:46:35 -04:00
Rangi
8003084cd5 HappinessData_DaisysGrooming uses percent macro 2020-08-03 18:56:56 -04:00
Rangi
dcb24bc724 Use def_* macros for automatic map event counts
Resolves #742
2020-07-24 09:57:16 -04:00
Rangi
11dc805de0 Revert "Factor out tables into data/overworld/"
This reverts commit b5a7e7de3e.
2020-07-22 20:21:26 -04:00
Rangi
b5a7e7de3e Factor out tables into data/overworld/
Fixes #749
2020-07-22 15:22:58 -04:00
Rangi
ef452ccbc7 return → endcallback, reloadandreturn → reloadend 2020-07-17 08:37:03 -04:00
Rangi
eca33ef190 Define map setup commands as macros like other script commands 2020-07-13 20:44:16 -04:00
Rangi
b3bd682366 text_linkpromptbutton -> text_waitbutton
Removes support for text_waitbutton as a legacy alias for text_promptbutton.
2020-07-06 12:55:31 -04:00
Rangi
9433b5a752 Remove RAM address comments 2020-06-20 23:03:40 -04:00
Rangi
cc460a17b0 Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
2020-06-17 17:03:38 -04:00
Rangi
f2550fc3c2 ReplaceKrisSprite -> UpdatePlayerSprite 2020-06-16 19:38:00 -04:00
Rangi
b50dd57cbb Miscellaneous updates and corrections 2020-04-23 16:14:50 -04:00
Rangi
576cbf5b3e Miscellaneous fixes, including one for the Pokédex design flaw by ax6 2020-04-18 17:31:51 -04:00
Rangi
164e1b89af Rename pokecrystal.link to layout.link
This is independent of the project name, and clearly applies to pokecrystal11, pokecrystal-au, etc.
2020-04-17 11:02:29 -04:00
Rangi
7558b98a81 Revert the broken CheckTypeMatchup bugfix simplification from 5728d01417 2020-03-21 14:03:38 -04:00
Rangi
6a6ba10315 rgbds supports 'X - 1' instead of 'X + -1' 2020-03-21 14:01:05 -04:00
Rangi
0cce00cb73 Document a bug where Teleport cannot fail for wild Pokémon 2020-02-28 11:17:58 -05:00