summaryrefslogtreecommitdiff
path: root/Improve-the-event-initialization-system.md
diff options
context:
space:
mode:
Diffstat (limited to 'Improve-the-event-initialization-system.md')
-rw-r--r--Improve-the-event-initialization-system.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Improve-the-event-initialization-system.md b/Improve-the-event-initialization-system.md
index a4f0029..4c0225d 100644
--- a/Improve-the-event-initialization-system.md
+++ b/Improve-the-event-initialization-system.md
@@ -173,7 +173,7 @@ Edit [engine/events/std_scripts.asm](../blob/master/engine/events/std_scripts.as
- setevent EVENT_EARLS_ACADEMY_EARL
- ...
- setevent EVENT_INITIALIZED_EVENTS
-- return
+- endcallback
```
And edit [maps/PlayersHouse2F.asm](../blob/master/maps/PlayersHouse2F.asm):
@@ -185,10 +185,10 @@ And edit [maps/PlayersHouse2F.asm](../blob/master/maps/PlayersHouse2F.asm):
- checkevent EVENT_INITIALIZED_EVENTS
- iftrue .SkipInitialization
- jumpstd initializeevents
-- return
+- endcallback
-
-.SkipInitialization:
- return
+ endcallback
```
Now we have a system for initializing the game that's independent of the starting map, easy to find with the rest of the game data, and uses less space.