xCrystal
ca919cdf98
Board menu: implement preliminary Party, Bag, Pokegear, and Exit submenus ( #11 )
2023-09-22 23:12:05 +02:00
xCrystal
c11c53e0d7
Documentation (Overworld loop)
2023-09-15 20:04:16 +02:00
xCrystal
eb728d5151
Rename the concept of Money to Coins ( #7 )
2023-09-02 23:17:20 +02:00
xCrystal
98fa7a9538
Rename the concept of Coins to Chips ( #7 )
2023-09-02 18:23:25 +02:00
xCrystal
ea4ab28652
Enforce capacity limit of sprite list in VRAM ( #2 ); actually fix LoadSpriteGFX ( #8 ) [bugfix to 59bda0b36b
]
2023-09-02 13:01:45 +02:00
xCrystal
74f2a55332
Add new map setup script MAPSETUP_ENTERLEVEL ( #4 ), and integrate overworld HUD setup in the corresponding setup scripts ( #15 )
2023-08-31 19:27:39 +02:00
xCrystal
2957bce0a9
Don't hide sprites behind a 2BPP textbox if they are partially outside of it, and make 2BPP textboxes have priority over objects ( #7 ); Generalize 1bpp/2bpp text state tracking ( #10 ) [reworks 052d246e
]
2023-08-31 18:41:05 +02:00
xCrystal
9f835560d7
Tinker with overworld HUD implementation in f386a63cf8
( #15 )
2023-08-30 19:23:51 +02:00
xCrystal
f386a63cf8
Overworld HUD implementation ( #15 )
2023-08-29 18:33:20 +02:00
xCrystal
b275d642cd
rename load_map_part.asm to load_screen_tilemap.asm following function name changes in fd6f02036e
2023-08-28 17:52:15 +02:00
xCrystal
fd6f02036e
Improve some innacurate function names from pokecrystal
2023-08-28 13:30:13 +02:00
xCrystal
11db1300b2
Window HUD: Handle Window being fully shown during reanchor map ( #15 )
2023-08-28 12:03:32 +02:00
xCrystal
6e49bb9893
Implement the basics of the window HUD functionality ( #15 )
2023-08-27 19:18:52 +02:00
xCrystal
fc2e757c57
Make level selection menu landmarks universal ( #4 ) ( #12 )
2023-08-20 12:08:24 +02:00
xCrystal
684c2eff78
Board menu ( #11 ) [Commit 2]
2023-08-17 13:51:29 +02:00
xCrystal
c405c955ba
Load overworld font and frame via HDMA instead of copying to VRAM ( #10 )
2023-08-12 21:14:46 +02:00
xCrystal
052d246ee3
Use overworld textbox in text printing functions, differentiating between 1bpp and 2bpp text ( #10 )
2023-08-11 12:28:14 +02:00
xCrystal
be5f3ad6e1
Remove unused map environment with index 0 ( #7 ), Implement function to draw the overworld textbox ( #10 )
2023-08-07 13:23:57 +02:00
xCrystal
55a38ff2de
Make map environments more granular and make all map palettes except darkness depend on map environment ( #7 )
2023-08-04 18:45:50 +02:00
xCrystal
6e3c5fd008
Expand tilesets from 192 to 255 tiles ( #2 ) [Commit 2], Reorganization of pokecrystal charmap and fonts layout ( #3 )
2023-08-02 19:52:51 +02:00
xCrystal
dd04feb32a
Remove map name sign feature ( #1 )
2023-07-31 19:30:40 +02:00
xCrystal
9df4cf6946
Create a fourth time of day ( #2 )
2023-07-31 12:27:53 +02:00
xCrystal
05448d7a7e
Remove RTC ( #1 ) and remove time of day dependence on RTC ( #7 ) [Commit #2 ]
2023-07-28 00:07:07 +02:00
xCrystal
0571144a7b
Remove RTC ( #1 ) and remove time of day dependence on RTC ( #7 ) [Commit 1]
2023-07-27 20:32:15 +02:00
xCrystal
59bda0b36b
Fix some pokecrystal bug and glitches ( #8 )
...
Credits sequence changes move selection menu behavior; Swimming NPCs aren't limited by their movement radius; No bump noise if standing on tile E; The unused phonecall script command may crash; ScriptCall can overflow wScriptStack and crash; LoadSpriteGFX does not limit the capacity of UsedSprites; ReadObjectEvents overflows into wObjectMasks; ClearWRAM only clears WRAM bank 1; BattleAnimCmd_ClearObjs only clears the first 6⅔ objects; Options menu fails to clear joypad state on initialization
2023-07-27 13:01:32 +02:00
xCrystal
d30b9dd60f
Further remove unnecessary DMG/SGB checking ( #7 ) and remove SGB layouts and palette data ( #1 )
2023-07-26 17:02:33 +02:00
xCrystal
acd022d765
Remove unnecessary DMG and SGB checking ( #7 )
2023-07-26 17:02:33 +02:00
xCrystal
15f452ff26
Remove indoor sprites ( #7 ), and improve overworld sprite sorting in VRAM ( #2 )
2023-07-26 10:30:47 +02:00
xCrystal
473c23a727
Remove unnecessary event and engine flags ( #1 )
2023-07-25 18:24:38 +02:00
xCrystal
5147904f78
Remove original maps and object events ( #1 )
2023-07-25 15:33:08 +02:00
xCrystal
fc7f2d4e0e
Remove Mobile, Battle Tower, Mystery Gift, and Odd Egg ( #1 )
2023-07-24 21:13:11 +02:00
vulcandth
438c48daad
Rename PAL_NPC_SILVER to PAL_NPC_EMOTE ( #1053 )
2023-06-01 07:47:53 -05:00
vulcandth
c01409be5a
Relabel some map_object
struct fields ( #1029 )
2023-01-03 22:16:08 -05:00
vulcandth
c4e3f2bbc2
TrainerWalkToPlayer
should reference wSeenTrainerDistance
(#1020 )
2022-11-22 21:03:24 -05:00
vulcandth
f7d26fbe9c
.CheckNPC
label and comment correction
2022-11-07 20:27:09 -06: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
Colton G. Rushton
145d8dd5c2
wVirtualOAM -> wShadowOAM and hTransferVirtualOAM -> hTransferShadowOAM ( #971 )
2022-07-09 17:18:22 -04: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
84a3b335aa
Document that farcall
returns c
in a
for some code ( #937 )
2022-06-17 22:30:53 -04: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
31c3c94d64
Build the Virtual Console patch with make crystal11_vc
( #882 )
...
Fixes #813
2022-03-12 18:34:04 -05:00
Rangi
3a562f9896
Identify some wMenuJoypad-related button constants
2022-03-09 19:42:26 -05:00
Idain
5ac4a51751
Use time constants more often ( #867 )
2022-01-10 20:57:40 -05:00
Rangi
e706b878d9
Use ~X instead of $ff ^ X
2021-11-23 20:37:18 -05:00
Rangi
f59f1bdb88
Standardize capitalization of ".Jumptable"
2021-06-19 19:52:05 -04:00
Rangi
e4d82e92d0
Rename prioritysjump
to sdefer
2021-06-08 20:35:04 -04:00
Rangi
316fa4b695
Use rgbds 0.5.0
2021-04-19 16:31:37 -04:00
Rangi
dc18e188b2
Sync some files with pokegold
2021-03-24 10:24:52 -04:00
Rangi
dbe2360ecd
Miscellaneous cleanup
2021-03-22 16:41:17 -04:00
Rangi
6c8f8609cb
Assert some more table widths
2021-03-17 11:38:01 -04:00
Rangi
ec1fe073a3
$11 = wTempMonStructEnd - wTempMonLevel
2021-03-15 15:40:48 -04:00
Rangi
97a11c623e
Sync some files with pokegold
2021-03-11 17:43:20 -05:00
Rangi
d132a20b7a
Verify script command table sizes
2021-03-11 16:28:52 -05:00
Rangi
dbabd8b4a9
Define MAPGROUP_* constants and verify MapGroup_* table sizes
2021-03-10 21:16:54 -05:00
Rangi
e791c5392b
Merge pull request #806 from Rangi42/tables
...
Verify data table sizes with table_width and assert_table_length macros
2021-03-08 07:01:31 -08:00
Rangi
c1c609ec4a
Identify scrolling menu lists in WRAM
...
Fixes #809
2021-03-08 09:41:55 -05:00
Rangi
40902ffe24
Verify data table sizes with table_width and assert_table_length macros
...
This was discussed in #706
It also uncovered some off-by-one issues with defining some constants.
A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-03-04 00:15:03 -05:00
Rangi
7d3ea88611
Rename GetFarHalfword to GetFarWord
...
Fixes #796
2021-01-09 15:16:05 -05:00
Rangi
5db892782a
Remove "Buffer" suffix from two HRAM labels
2020-12-23 16:54:28 -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
4613bcfadf
Use STRING_BUFFER_LENGTH for the wStringBuffers
2020-11-24 20:11:17 -05:00
Rangi
97e981985b
Correct some filename comments
2020-11-17 11:12:21 -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
ba5bc304f9
Updates to more closely sync with pokegold
2020-10-29 23:23:57 -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
6d333bed5f
Replace many '; unused' with '; unreferenced'
2020-10-28 10:21:10 -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
c85ba78b77
Use more assertions to ensure correct code and data
2020-10-26 22:24:38 -04:00
Rangi
9dcdad5e60
Comment, remove, or revise many unreferenced labels
2020-10-26 20:29:58 -04:00
Rangi
bd3f634049
Identify remaining map object labels
2020-10-22 21:30:21 -04:00
Rangi
d8310c166d
Identify some more map object labels and constants
2020-10-22 17:41:48 -04:00
Rangi
b9a74ff777
Identify more sprite graphics and map object labels, and have consistent anonymous jumptable labels
2020-10-22 10:54:53 -04:00
Rangi
2e90df15b7
Update battle anim bg function comments, and identify more unnamed labels
2020-10-06 18:09:33 -04:00
Rangi
fc08ff2c38
Identify some unnamed labels
2020-10-06 13:50:02 -04:00
Rangi
42d0a2567a
Identify some more unnamed labels
2020-10-05 20:10:01 -04:00
Rangi
6b7ade66da
Identify more unnamed labels
2020-10-05 16:15:57 -04:00
Rangi
ff2d850219
Identify some more unnamed labels
2020-10-05 12:02:56 -04:00
Rangi
306c85750e
Identify some more unnamed labels
2020-10-04 20:10:39 -04:00
Rangi
0b31d12dac
Merge pull request #756 from mid-kid/master
...
Rub a dub dub, thanks for the grub
2020-08-18 16:35:15 -04:00
Rangi
7729dcd204
Consistent constants for radio data table sizes (could still be better)
2020-08-13 13:47:50 -04:00
mid-kid
b6055b1944
Use TRUE for hCGBPalUpdate
2020-08-05 16:02:48 +02: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
212846af57
Treat map setup commands like trade script commands
...
Fixes #736
2020-07-22 13:37:43 -04:00
Rangi
fc99117d88
" " → $7f
2020-07-21 11:12:56 -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
e239aa4aba
Disassemble the final English debug ROM
2020-07-13 15:18:28 -04:00
Rangi
6ca82e5c86
Eliminate enum: use const instead, with case-by-case parallel const implementations
2020-07-08 15:30:23 -04:00
Rangi
61847b3596
Identify some more labels
2020-06-22 16:30:13 -04:00
Rangi
c3c18dd196
Comment more ROM labels as unreferenced
...
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-21 18:33:31 -04:00
Rangi
91774f206e
Replace "Unreferenced" labels with "; unreferenced" comments
2020-06-21 16:27:43 -04:00
Rangi
50e182e831
Harmonize engine/overworld with pokegold
2020-06-17 22:12:04 -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