Commit Graph

1584 Commits

Author SHA1 Message Date
xCrystal
80257e4bca Populate content of overworld HUD (#18); make wCurTurn 2 bytes (#25) 2023-12-27 17:42:46 +01:00
xCrystal
b530cf90f4 OAM animation of gaining or losing coins during blue/red space effect (#22) 2023-12-26 21:04:20 +01:00
xCrystal
28bd777632 give/take coins action of blue/red space (#22) 2023-12-24 18:42:07 +01:00
xCrystal
f9382f3c82 Overworld HUD tiles in overworld font and charmap (#18) 2023-12-24 17:07:36 +01:00
xCrystal
05d925eeb4 Legend OAM in branch space (#28), view map mode (#29), and talker events (#30) 2023-12-23 14:44:36 +01:00
xCrystal
2d8ccc53df Reorganize the locations of disabled spaces engine code (#33) 2023-12-21 20:04:30 +01:00
xCrystal
eafc71f4a2 Add east/west connected map for testing 2023-12-21 19:57:17 +01:00
xCrystal
1cc65f4255 Implement disabled spaces through east/west connections (#33) 2023-12-21 19:56:52 +01:00
xCrystal
fc6f496254 Implement disabled spaces through north/south connections (#33) 2023-12-21 18:16:31 +01:00
xCrystal
7641bb7876 Implement the engine to backup disabled map spaces (#33) 2023-12-20 19:14:28 +01:00
xCrystal
d097191ab1 Implement the engine to backup map objects when chaning maps (#32) 2023-12-15 19:10:47 +01:00
xCrystal
2bca51eb09 Rename Map<N>Object addresses to MapObject<N>; create wMapObjectsBackups and sMapObjectsBackups in respective WRAM/SRAM sections (#32) 2023-12-15 13:43:42 +01:00
xCrystal
7ede3d1357 Create COLL_OUT_OF_BOUNDS to handle isolated areas within the same map that should not be visible in View Map mode (#29) 2023-12-14 21:24:08 +01:00
xCrystal
78b8f05fb7 Debug map data for testing 2023-12-14 17:13:07 +01:00
xCrystal
af9ab166c4 Ensure anchor points are applied when landing after warp by creating a new setup script 2023-12-14 17:11:15 +01:00
xCrystal
5a7a380e37 SFX player in debug menu 2023-11-30 15:51:24 +01:00
xCrystal
dbc0221e15 Implement talker events: core functionality done [commit 4] (#30) 2023-11-29 20:04:08 +01:00
xCrystal
6f4fcf580a Implement talker events [commit 3] (#30) 2023-11-28 21:36:51 +01:00
xCrystal
933fca3b4b Implement talker events [commit 2] (#30) 2023-11-28 18:02:00 +01:00
xCrystal
88b6810a18 Implement talker events [commit 1] (#30) 2023-11-28 13:59:36 +01:00
xCrystal
34d9877a1f Create level scoped event flags for trainers and talkers, and integrate trainer battles in the board engine (#30) 2023-11-28 09:44:10 +01:00
xCrystal
2596e3c93e Documentation 2023-11-17 14:22:28 +01:00
xCrystal
6613cd5386 Add anchor points to support manual movement between spaces (#26) 2023-11-16 17:20:13 +01:00
xCrystal
29bea311fe Rename PAL_OW_EMOTE and PAL_NPC_EMOTE to *_GREY 2023-11-05 11:07:32 +01:00
xCrystal
2df937cbee Implement View Map mode [commit 5]: make View Map mode work from branch space (#29) 2023-11-04 17:17:08 +01:00
xCrystal
8f3e9b04e2 Implement View Map mode [commit 4]: draw arrows OAM and refactor previous commit to support this (#29) 2023-11-04 13:04:25 +01:00
xCrystal
c2e7422ba0 Implement View Map mode [commit 3]: handle off-limits and off-range collisions 2023-11-03 13:16:45 +01:00
xCrystal
d2bb82bc3c Implement View Map mode [commit 2]: mock player object (#29) 2023-11-01 11:48:12 +01:00
xCrystal
147c9f2add Implement View Map mode [commit 1] (#29) 2023-10-31 20:25:56 +01:00
xCrystal
85f9c258b5 Fix that CheckObjectCoveredByTextbox doesn't account for the background scroll (SCX/SCY) (#8) 2023-10-31 16:02:37 +01:00
xCrystal
dadbc72764 Turn head down after landing on space (#21) 2023-10-30 19:27:19 +01:00
xCrystal
a8b5145236 Effects of branch space [Commit 3]: accounting for techniques (#28) 2023-10-29 12:03:23 +01:00
xCrystal
29f98ccb8c Effects of branch (and union) space [Commit 2] (#28) 2023-10-28 19:09:58 +02:00
xCrystal
a13558aeb2 Adjust step frame and durations in StepFunction_Turn so that player's sprite is still when landing in a space (#7) 2023-10-28 18:57:18 +02:00
xCrystal
a52e7f4df5 Effects of branch space [Commit 1] (#28) 2023-10-24 20:36:23 +02:00
xCrystal
ad345222ae Handle white out transition from overworld (incl. battle) to game menu (#27) 2023-10-23 18:40:08 +02:00
xCrystal
866729d024 Clear sprite animations before board menu die roll animation to prevent artifacts such as from party menu animations (#11) 2023-10-23 17:36:52 +02:00
xCrystal
9fcd72af19 Mockup of Pokemon Space (#22); reorganize delays and sprite updating of regular spaces (#21) 2023-10-23 17:04:59 +02:00
xCrystal
955add1024 Hide rotating die right after pressing B to go back to board menu [bugfix/improvement] (#11) 2023-10-21 19:33:40 +02:00
xCrystal
89a17c3a05 Make sure overworld sprites don't appear after returning from overworld [bugfix] (#17) 2023-10-21 19:29:29 +02:00
xCrystal
e9ad1f5612 Rename _UpdateSprites to _UpdateActiveSprites and create UpdateActiveSprites in home back (along with the existing UpdateSprites) 2023-10-21 18:46:56 +02:00
xCrystal
961d2f0b6e End space effect (#22) 2023-10-21 18:00:59 +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
09e05890e5 Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24) 2023-10-18 20:29:49 +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
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
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
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
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
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
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
f289d5621d Window HUD: Prevent more Window flickering in blocks that disable interrupts (#15) 2023-08-28 17:31:39 +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
4ee4655e72 constants for rSTAT register 2023-08-27 16:27:11 +02:00
xCrystal
4dec74b770 Level selection menu: fading animations (#12) (#14) 2023-08-27 13:11:42 +02:00
xCrystal
4855dd9b70 RGB fade engine (#14) 2023-08-25 23:09:42 +02:00
xCrystal
f067112be6 Level selection menu: main logic of landmark transitions involving page change (#12) 2023-08-25 13:42:23 +02:00
xCrystal
d5dc7b38df Level selection menu: implement landmark transitions not involving page change (#12) 2023-08-23 12:50:22 +02:00
xCrystal
e866cdab48 Level selection menu: function to compute valid directions and directional arrows OAM (#12) 2023-08-22 12:42:53 +02:00
xCrystal
d7c59dcef1 Unlocked level flags 2023-08-21 01:45:06 +02:00
xCrystal
daf9e41557 Level selection menu: begin main loop, and landmark transitions (movements) data (#12) 2023-08-20 19:53:33 +02:00
xCrystal
84d5bdb55d Level selection menu: sprite anim data (#12) 2023-08-20 13:03:33 +02:00
xCrystal
fc2e757c57 Make level selection menu landmarks universal (#4) (#12) 2023-08-20 12:08:24 +02:00
xCrystal
222b46896c Level selection menu: init screen and bg layout, and preliminary landmarks data (#12) 2023-08-19 19:45:43 +02:00