summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Spawn-Point-(for-Fly-or-Teleport).md22
1 files changed, 15 insertions, 7 deletions
diff --git a/Spawn-Point-(for-Fly-or-Teleport).md b/Spawn-Point-(for-Fly-or-Teleport).md
index f1932d0..abdcf23 100644
--- a/Spawn-Point-(for-Fly-or-Teleport).md
+++ b/Spawn-Point-(for-Fly-or-Teleport).md
@@ -4,41 +4,48 @@ After successfully achieved the "[Add a new map and landmark](https://github.com
Simply edit [constants/map_data_constants.asm]:
-`; johto
+```
+; johto
const SPAWN_NEW_BARK
...
const SPAWN_GOLDENROD
+ const SPAWN_GLOBALTERMINAL`
-
+```
Then edit [data/maps/spawn_points.asm]:
-`SpawnPoints:
+```
+SpawnPoints:
...
spawn GOLDENROD_CITY, 15, 28
+ spawn GLOBAL_TERMINAL_OUTSIDE, 8, 10
-`
+```
Then edit [data/maps/flypoints.asm]
-`Flypoints:
+```
+Flypoints:
...
; Johto
...
flypoint GOLDENROD, GOLDENROD_CITY
+ flypoint GLOBALTERMINAL, GLOBAL_TERMINAL`
+```
Then edit [constants/engine_flags.asm]
-`...
+```
+...
; wVisitedSpawns
const ENGINE_FLYPOINT_GOLDENROD
+ const ENGINE_FLYPOINT_GLOBALTERMINAL`
+```
Then edit [maps/GlobalTerminalOutSide.asm]
-`...
+```
+...
GlobalTerminalOutside_MapScripts:
db 0 ; scene scripts
+ db 1 ; callbacks
@@ -47,5 +54,6 @@ GlobalTerminalOutside_MapScripts:
+ .Flypoint:
+ setflag ENGINE_FLYPOINT_GLOBALTERMINAL
+ return`
+```
Then compile your project and you're done \ No newline at end of file