Commit Graph

5275 Commits

Author SHA1 Message Date
xCrystal
38ffe06a2c Implement clearing level in RAM according to End Space effect, supporting up to 4 clearable stages per level; Implement unlocking levels [Commit 1] (#35) 2024-01-18 19:22:21 +01:00
xCrystal
8757112152 Add support for a level having more than one associated landmark, for levels with alternative starting points (#12) 2024-01-18 14:06:10 +01:00
xCrystal
0abe559e11 Clear BGMap before clear level screen to avoid glitch due to SCX=4 [bugfix to f6320585bf] (#35) 2024-01-17 14:25:29 +01:00
xCrystal
f6320585bf Level cleared transition: placeholder screen, update wCoins with wCurLevelCoins, advance time of day (#35) 2024-01-16 18:08:19 +01:00
xCrystal
20e7791a83 Ggive dummy item in Item Space (#22) 2024-01-16 12:44:13 +01:00
xCrystal
98b04522e1 Handle the repositioning in the new map of a mocked player object after going through a map connection (#29) 2024-01-05 20:57:35 +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
9198f4d4b1 Fix CheckOnWater while on a space tile (#34) [bugfix to aa91909388] 2024-01-04 22:30:40 +01:00
Rangi
0df29e5aaf Update to rgbds v0.7.0 2024-01-04 21:55:57 +01:00
xCrystal
3e952c0b0f Use DEF before EQU syntax 2024-01-04 21:47:44 +01:00
xCrystal
16e7328439 Logic to manage PAL_OW_MISC (#3) 2024-01-03 17:24:26 +01:00
xCrystal
ce4ca85494 Implement Flash technique through a map callback of type MAPCALLBACK_ENDMAPSETUP (#34)
This callback type is executed in a new map setup command at the very end of every map setup script. Maps that should trigger the use of Flash automatically should use an instance of this callback with fixed functionality
2023-12-31 15:05:07 +01:00
xCrystal
c5e3179059 Stop map anims during End Space fade out anim to prevent palette flickering (#22) [bugfix to 961d2f0b] 2023-12-31 13:49:41 +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
424598bbf4 Documentation: RAM addresses 2023-12-27 18:02:28 +01:00
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
4859b524b3 Adjust legend OAM graphics 2023-12-24 17:09:22 +01:00
xCrystal
7e52585a24 Overworld HUD tiles in overworld font and charmap (#18) 2023-12-24 17:09:08 +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
429aad6798 Don't overlap GO_* and BRANCH_DIRECTION_* constants [bug fix] (#28) 2023-12-14 17:03:28 +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
93dad5959f Documentation: move pokecrystal overworld loop documentation to a separate file 2023-11-28 10:20:07 +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
8b9d731c5c Documentation 2023-11-06 14:57:25 +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