diff options
author | Guilherme Lima <40393972+guilhermealima@users.noreply.github.com> | 2020-06-03 14:47:45 -0300 |
---|---|---|
committer | Guilherme Lima <40393972+guilhermealima@users.noreply.github.com> | 2020-06-03 14:47:45 -0300 |
commit | c01bff027de8fcf46f8b5c9a86980dcac30244e7 (patch) | |
tree | 3491ca423f974ed0dc8d15aef70e99b8a7b547fa | |
parent | 4c20b3ef1e43ed74300accb563c79523b6afa790 (diff) |
Added one missing step [data/engine_flags edit]
-rw-r--r-- | Add-a-new-spawn-point.md | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Add-a-new-spawn-point.md b/Add-a-new-spawn-point.md index 4f088a3..3471361 100644 --- a/Add-a-new-spawn-point.md +++ b/Add-a-new-spawn-point.md @@ -9,7 +9,7 @@ Simply edit [constants/map_data_constants.asm]: const SPAWN_NEW_BARK ... const SPAWN_GOLDENROD -+ const SPAWN_GLOBALTERMINAL` ++ const SPAWN_GLOBALTERMINAL ``` Then edit [data/maps/spawn_points.asm]: @@ -31,7 +31,7 @@ Flypoints: ; Johto ... flypoint GOLDENROD, GOLDENROD_CITY -+ flypoint GLOBALTERMINAL, GLOBAL_TERMINAL` ++ flypoint GLOBALTERMINAL, GLOBAL_TERMINAL ``` Then edit [constants/engine_flags.asm] @@ -40,7 +40,18 @@ Then edit [constants/engine_flags.asm] ... ; wVisitedSpawns const ENGINE_FLYPOINT_GOLDENROD -+ const ENGINE_FLYPOINT_GLOBALTERMINAL` ++ const ENGINE_FLYPOINT_GLOBALTERMINAL +``` + +Then edit [data/engine_flags.asm] + +```diff +EngineFlags: + ... + ; fly + ... + engine_flag wVisitedSpawns, SPAWN_GOLDENROD ++ engine_flag wVisitedSpawns, SPAWN_GLOBALTERMINAL ``` Then edit [maps/GlobalTerminalOutSide.asm] @@ -54,7 +65,7 @@ GlobalTerminalOutside_MapScripts: + .Flypoint: + setflag ENGINE_FLYPOINT_GLOBALTERMINAL -+ return` ++ return ``` Then compile your project and you're done
\ No newline at end of file |