feat(game): run a map's on-transition script when a player enters it

This commit is contained in:
Fiereu committed 2026-07-26 14:36:07 +02:00
1 parent 023f4eb305
commit c06aff99d3
12 files changed
+176 -32

No files matched your search

@@ -32,6 +32,8 @@ class MapDef(
val warps: List<WarpTile> = emptyList(),
val npcs: List<NpcDef> = emptyList(),
val bgEvents: List<BgEventDef> = emptyList(),
/** Decomp label of the script that runs when a player enters this map, or "" if none. */
val onTransitionScript: String = "",
private val blockData: String = "",
private val behaviorData: String = "",
) {