diff options
-rw-r--r-- | Spawn-Point-(for-Fly-or-Teleport).md (renamed from Spawn-Point-(for-Fly-or-Teleport).mediawiki) | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Spawn-Point-(for-Fly-or-Teleport).mediawiki b/Spawn-Point-(for-Fly-or-Teleport).md index 91c9d54..f1932d0 100644 --- a/Spawn-Point-(for-Fly-or-Teleport).mediawiki +++ b/Spawn-Point-(for-Fly-or-Teleport).md @@ -30,4 +30,22 @@ Then edit [data/maps/flypoints.asm] 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 ++ callback MAPCALLBACK_NEWMAP, .Flypoint + ++ .Flypoint: ++ setflag ENGINE_FLYPOINT_GLOBALTERMINAL ++ return` + Then compile your project and you're done
\ No newline at end of file |