summaryrefslogtreecommitdiff
path: root/data/scripts/fow
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-12-27 18:23:03 -0800
committertheo3 <arisstephenson2@gmail.com>2021-12-27 18:23:03 -0800
commitebaa6d76fa94540c12fad5eed634a796423fbd7b (patch)
tree4ee6b8f974a061d0a0eaa6f2035a1c653f7459dd /data/scripts/fow
parentdc8bcb32e0db99420b35b4254c5218711bc1e3a0 (diff)
parent60e74d1ba9827086c7fd31a5702132fda4612813 (diff)
merge
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..624a5513
--- /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
+ WaitForSyncFlagAndClear 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..b5c522c0
--- /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
+ WaitForSyncFlagAndClear 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..75086071
--- /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
+ SetSyncFlag 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..0f6d278a
--- /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
+ SetSyncFlag 0x00000002
+ _0807EDD4 0x0088, 0x0158
+SCRIPT_END
+ .2byte 0x0000