summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-03 16:18:11 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-03 16:18:11 -0400
commitf0d5c0b07646952ed7fdea8ea81ed54281a957f8 (patch)
tree7574e6aa9ef7a643ff98b49b88745a1ca5ce7cc1
parent1574db894938da2b809b4dc2a5a37ae680b8f55c (diff)
parentc01bff027de8fcf46f8b5c9a86980dcac30244e7 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal.wiki
-rw-r--r--Add-a-new-spawn-point.md19
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