summaryrefslogtreecommitdiff
path: root/data/scripts/fow
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-12-26 23:22:16 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-12-26 23:22:16 +0100
commit2ccf89a1fb89e01f449e1d4ce734c57943fa093b (patch)
tree55b14aa2625dd269c30be6d636b97a65d828b145 /data/scripts/fow
parent11bb0e7656594d12bf16a250d43a59361e15bd9e (diff)
Rename scripts
Diffstat (limited to 'data/scripts/fow')
-rw-r--r--data/scripts/fow/script_MazaalMacroDefeated.inc12
-rw-r--r--data/scripts/fow/script_Object89Mazaal.inc12
-rw-r--r--data/scripts/fow/script_PlayerAtMazaal.inc13
-rw-r--r--data/scripts/fow/script_PlayerDefeatedMazaal.inc20
4 files changed, 57 insertions, 0 deletions
diff --git a/data/scripts/fow/script_MazaalMacroDefeated.inc b/data/scripts/fow/script_MazaalMacroDefeated.inc
new file mode 100644
index 00000000..02a44d56
--- /dev/null
+++ b/data/scripts/fow/script_MazaalMacroDefeated.inc
@@ -0,0 +1,12 @@
+@ Mazaal Macro when defeated
+SCRIPT_START script_MazaalMacroDefeated
+ BeginBlock
+ _0807E864
+ EndBlock
+ Wait 0x0078
+ _0807E908 0x0004
+ StartPlayerScript script_PlayerDefeatedMazaal
+ WaitForSomething2 0x00000002
+ Wait 0x000c
+ _0807E908 0x0005
+SCRIPT_END
diff --git a/data/scripts/fow/script_Object89Mazaal.inc b/data/scripts/fow/script_Object89Mazaal.inc
new file mode 100644
index 00000000..28c36a5c
--- /dev/null
+++ b/data/scripts/fow/script_Object89Mazaal.inc
@@ -0,0 +1,12 @@
+@ Mazaal OBJECT_89
+SCRIPT_START script_Object89Mazaal
+ BeginBlock
+ EndBlock
+ _0807E888
+ Wait 0x0018
+ _0807E864
+ StartPlayerScript script_PlayerAtMazaal
+ WaitForSomething2 0x00000001
+ _0807E908 0x0002
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/fow/script_PlayerAtMazaal.inc b/data/scripts/fow/script_PlayerAtMazaal.inc
new file mode 100644
index 00000000..80b81ae5
--- /dev/null
+++ b/data/scripts/fow/script_PlayerAtMazaal.inc
@@ -0,0 +1,13 @@
+@ Player entering Mazaal
+SCRIPT_START script_PlayerAtMazaal
+ BeginBlock
+ _0807EB44 0x0000
+ SetEntitySpeed 0x0140
+ EndBlock
+ _0807EDD4 0x00b8, 0x0094
+ Wait 0x0008
+ DoPostScriptAction 0x0000
+ Wait 0x0008
+ _0807E5F8 0x00000001
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/fow/script_PlayerDefeatedMazaal.inc b/data/scripts/fow/script_PlayerDefeatedMazaal.inc
new file mode 100644
index 00000000..19afd13a
--- /dev/null
+++ b/data/scripts/fow/script_PlayerDefeatedMazaal.inc
@@ -0,0 +1,20 @@
+@ Player when defeating Mazaal
+SCRIPT_START script_PlayerDefeatedMazaal
+ BeginBlock
+ SetEntitySpeed 0x0140
+ EndBlock
+ Wait 0x003c
+ _0807EB44 0x0004
+ Wait 0x000f
+ _0807EB44 0x0002
+ Wait 0x0012
+ _0807EB44 0x0006
+ Wait 0x000c
+ _0807EB44 0x0000
+ Wait 0x0015
+ _0807EB44 0x0004
+ Wait 0x0008
+ _0807E5F8 0x00000002
+ _0807EDD4 0x0088, 0x0158
+SCRIPT_END
+ .2byte 0x0000