Commit Graph

87 Commits

Author SHA1 Message Date
xCrystal
b1fd8f941a Apply e0c278a595bdd0b724607e14398a3c340860b449 from pokecrystal 2024-02-11 00:25:25 +01:00
xCrystal
5c4d982702 Apply most of pokecrystal PR 1105 2024-02-11 00:16:00 +01:00
xCrystal
67e20e454e Make PLAYER_NORMAL the default state when entering a new level (#34) [patch to previous commit 9198f4d4b1] 2024-01-04 22:45:05 +01:00
xCrystal
16e7328439 Logic to manage PAL_OW_MISC (#3) 2024-01-03 17:24:26 +01:00
xCrystal
a40f7cdde7 Implement Waterfall technique (#34) 2023-12-31 13:39:00 +01:00
xCrystal
aa91909388 Implement Surf technique, avoid facing-tile events when player has yet to STEP_TURN or while not in BOARDEVENT_HANDLE_BOARD [bugfix to previous two commits] (#34)
new tile permission SPACE_TILE added, which acts as WATER_TILE while on PLAYER_SURF or PLAYER_SURF_PIKA state, as LAND_TILE otherwise
2023-12-30 00:27:50 +01:00
xCrystal
303deca959 Implement Cut technique, making cut trees use objects (#34) 2023-12-29 13:34:37 +01:00
xCrystal
16ba25346c Implement Rock Smash technique (#34) 2023-12-28 19:53:34 +01:00
xCrystal
80257e4bca Populate content of overworld HUD (#18); make wCurTurn 2 bytes (#25) 2023-12-27 17:42:46 +01:00
xCrystal
28bd777632 give/take coins action of blue/red space (#22) 2023-12-24 18:42:07 +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
dbc0221e15 Implement talker events: core functionality done [commit 4] (#30) 2023-11-29 20:04:08 +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
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
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
29f98ccb8c Effects of branch (and union) space [Commit 2] (#28) 2023-10-28 19:09:58 +02:00
xCrystal
a52e7f4df5 Effects of branch space [Commit 1] (#28) 2023-10-24 20:36:23 +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
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
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
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
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
db7d9c7063 Board menu: die roll input and animation (#11) 2023-09-25 21:57:47 +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
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
6e49bb9893 Implement the basics of the window HUD functionality (#15) 2023-08-27 19:18:52 +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
dd04feb32a Remove map name sign feature (#1) 2023-07-31 19:30:40 +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
5147904f78 Remove original maps and object events (#1) 2023-07-25 15:33:08 +02:00
vulcandth
c01409be5a
Relabel some map_object struct fields (#1029) 2023-01-03 22:16:08 -05:00
Rangi
8e135931a6 Require rgbds 0.6.0 2022-10-02 22:03:53 -04:00