Commit Graph

5255 Commits

Author SHA1 Message Date
xCrystal
b0e2e7aef3 Rename wCurSpaceData and wTempSpaceData to *SpaceStruct and create space_struct macro 2023-10-20 20:16:10 +02:00
xCrystal
fc7b65347f Disable space upon landing (#21) 2023-10-20 20:07:56 +02:00
xCrystal
f9f0467d76 Add definitions for additional regular spaces (green, item, pkmn, minigame) and end space (#21) 2023-10-19 20:38:54 +02:00
xCrystal
f2a9f1e116 Documentation 2023-10-18 20:30:03 +02:00
xCrystal
09e05890e5 Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24) 2023-10-18 20:29:49 +02:00
xCrystal
9f3c71544e Add space collisions to TileCollisionTable (collision permissions) as LAND_TILE (#21) 2023-10-18 20:13:30 +02:00
xCrystal
c99444d1b9 Documentation 2023-10-18 20:04:11 +02:00
xCrystal
fbfd582926 Do not reset wCurTurn and wCurSpace if entering from save in overworld [Bug fix to previous commit] (#24) 2023-10-18 18:07:46 +02:00
xCrystal
3291b82069 Implementation of basic navigation and movement across linear spaces (#24) 2023-10-18 17:46:57 +02:00
xCrystal
806b048a9f Add wMapSpacesPointer to the map attributes (#4); create basic space macro to define the space layout of maps (#23) 2023-10-17 18:27:28 +02:00
xCrystal
a31c114382 Separate disabling space events and tile events so they aren't mutually exclusive in the same step (#25) 2023-10-17 16:24:04 +02:00
xCrystal
7448da8380 Create BOARDEVENT_END_TURN as a transition between turns after landing on space (#25) 2023-10-14 21:45:48 +02:00
xCrystal
b9ac41feb6 Upkeep tasks in board menu: auto save game, increase turn, clear wTurnData (#11); also init wCurTurn and wCurSpace in EnterMap 2023-10-14 20:52:09 +02:00
xCrystal
645eef341b Fix typo in previous commit (#21) 2023-10-14 20:41:18 +02:00
xCrystal
47422a1adb Begin implementation of base effect of regular spaces (#21) 2023-10-14 19:28:35 +02:00
xCrystal
917db30e98 Save game and clear board menu cursor position during game menu (#17) 2023-10-07 19:08:54 +02:00
xCrystal
da956ed7e4 Detach PAL_OW_MISC from map palettes i.e. LoadMapPals (#3) 2023-10-07 12:47:37 +02:00
xCrystal
85a616e20e Create tileset and map in debug build for testing 2023-10-06 20:42:00 +02:00
xCrystal
a01f04e967 Implement common tileset portion at second half of vTiles5: palette maps (#19) 2023-10-04 17:20:48 +02:00
xCrystal
adfcd603dd Implement common tileset portion at second half of vTiles5 (#19) 2023-10-03 19:02:36 +02:00
xCrystal
0d016cc8ee Change die roll SFX (#11) 2023-10-03 19:01:24 +02:00
xCrystal
8c7ee46065 Fix map anims not disabled outside of overworld (#17) 2023-10-02 17:39:10 +02:00
xCrystal
63912e8bef Add debug maps for testing 2023-10-02 16:11:52 +02:00
xCrystal
7d9b5bb279 Functional stub of title menus: minor clean up (#17) 2023-10-02 13:22:54 +02:00
xCrystal
0795c02a9c Functional stub of title menus: clean up return from overworld loop [Commit 2] (#17) 2023-10-01 00:39:18 +02:00
xCrystal
a16322350f Functional stub of title menus [Commit 1] (#17) 2023-10-01 00:10:44 +02:00
xCrystal
e53ae0eac9 Optimize some HRAM usage 2023-09-30 19:12:57 +02:00
xCrystal
336b3e77af Adjust duration of move die number animation (#11) [bugfix to 1f2be83ebc] 2023-09-30 19:06:54 +02:00
xCrystal
8967898bc9 Create function to update only secondary sprites to optimize die roll animation (#11) 2023-09-30 13:30:30 +02:00
xCrystal
49a3f6b8c8 Fix accidental corruption of board menu OAM data (#11) [bug fix to 1f2be83ebc) 2023-09-30 13:19:06 +02:00
xCrystal
1f2be83ebc Board menu: move die number animation (#11) 2023-09-27 19:25:47 +02:00
xCrystal
98d69d4e04 Board menu: break die and appear die number animations (#11) 2023-09-26 20:09:13 +02:00
xCrystal
db7d9c7063 Board menu: die roll input and animation (#11) 2023-09-25 21:57:47 +02:00
xCrystal
2cbe0e1764 Sync with pokecrystal up to aba1f14 2023-09-24 15:06:19 +02:00
xCrystal
5e78fd1ecc Sync with pokecrystal up to b0ddb07 2023-09-24 14:30:54 +02:00
xCrystal
d6001be90c Sync with pokecrystal up to 8873506b1 2023-09-24 14:21:42 +02:00
xCrystal
193882bc77 Constants for board menu gfx sizes (#11) 2023-09-23 11:50:25 +02:00
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
674e838460 Organize debug-only structures for test maps and levels (#16) 2023-09-03 00:22:23 +02:00
xCrystal
eb728d5151 Rename the concept of Money to Coins (#7) 2023-09-02 23:17:20 +02:00
xCrystal
5d95ff952a Replace ¥ font character with <COIN> (#7) 2023-09-02 23:17:21 +02:00
xCrystal
98fa7a9538 Rename the concept of Coins to Chips (#7) 2023-09-02 18:23:25 +02:00
xCrystal
ea31d254fb Relocate Board menu OAM to vTiles0 after outdoor sprites to leave room for overworld HUD tiles in vTiles1 (#11) 2023-09-02 13:21:57 +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
7bd940aeac Don't hide board menu objects behind the textbox (#11) [adapts Board menu to 2957bce0a9] 2023-08-31 18:51:37 +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
236519fc55 Documentation 2023-08-29 18:52:51 +02:00