summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadMax26 <51791854+MadMax26@users.noreply.github.com>2019-06-13 19:09:35 +0200
committerMadMax26 <51791854+MadMax26@users.noreply.github.com>2019-06-13 19:09:35 +0200
commita6ca9c37b24aedeee7f23588883478e9dee51dd6 (patch)
tree699240a318218bbdedc66b02323bda7106d8f7d8
parent731107e959eeb8770d030ae45dac3cf77018886b (diff)
Updated Spawn Point (for Fly or Teleport) (mediawiki => markdown)
-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