Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kalameet Event Script IDs:
- 1210400: bridge encounter Kalameet ID
- 1210401: grounded fight
- 1210402: flying fight
- Kalameet Animation IDs:
- 7000: bridge encounter
- 7001: slow cycle extra flight path
- 7002: burn back of arena out of the slow cycle
- 7003: burn front and back of arena out of the slow cycle
- 7004: death
- 7006: fly in on first encounter at fight arena
- 7008: fly back behind the mountains
- 7009: stuck idle behind the mountains
- 7010: attack that you want / burn back of arena
- 7011: attack front and back of arena
- Flags:
- 11210055,56,57,58: flags for where in the arena you are, used in function 11210052
- 11210062: first encounter finished, ready to do flying attacks
- 11210063: Kalameet dead
- 11210064: burn the back of arena only (the one you want)
- 11210065: burn front + back of arena
- 11210066: wait, player is in no attack region
- 11210067: decided on a flying attack already, blocks other flying attacks until unset
- 11210068: a 7X flag has been set, not used otherwise seemingly
- 11210069: finished fly back to behind the cliff/mountains
- 11210070-73: used for random delay between attacks (referred to as 7X below)
- Functions:
- function 11210050 (bridge encounter)
- function 11210051 (first encounter at the fight arena)
- -> start fly-in animation when player enters area id 01212052
- -> anim 7006, wait 240 frames
- -> anim 7008, wait 194 frames
- -> set flags: 11210062 and 11210069
- function 11210052 (decide on attack based on where player is and Kalameet HP)
- -> set 1121007X randomly to on (decides random delay between attacks), as well as 11210068
- -> set 11210063 if Kalameet is <= 1% HP and he is not doing an attack aka dead
- -> set 11210064 if player is in back of arena
- -> set 11210065 if player is in the front of the arena
- -> set 11210066 if player is no attack region
- -> set 11210067 in any case to signal Kalameet is busy
- function 11210053 (kill Kalameet)
- -> kill Kalameet if 11210063 is set
- function 11210054 (Kalameet burns back of the arena)
- -> run if 11210064 is set
- -> play 7010 (attack you want) if behind the mountain (11210069 is set)
- -> play 7002 if attacking out of slow cycle (not behind mountain, 11210069 not set)
- -> if dead, skip the next line with flying behind the mountain or slow cycle
- -> fly behind mountain + delay depending on 7X flags (71 = 60 frames, 72 = 120 frames, 73 = 180 frames), do slow cycle if 70 is set
- -> set 11210064 + 67 to 0, and 11210069 to 1 if behind mountain
- function 11210055 (Kalameet burns front and back of the arena)
- -> run if 11210065 is set
- -> play 7011 if behind the mountain (11210069 is set)
- -> play 7003 if attacking out of slow cycle (not behind mountain, 11210069 not set)
- -> if dead, skip the next line with flying behind the mountain or slow cycle
- -> fly behind mountain + delay depending on 7X flags (71 = 60 frames, 72 = 120 frames, 73 = 180 frames), do slow cycle if 70 is set
- -> set 11210065 + 67 to 0, and 11210069 to 1 if behind mountain
- function 11210056 (Kalameet does nothing because player is in no attack region)
- -> run if 11210066 is set
- -> if kalameet is behind the mountain already, play 7009 idle anim, do wait based on 7X flags (45, 60, 75, 90 frames), then unset 11210066 + 67 to allow Kalameet to check for attack again
- -> if kalameet is not behind the mountain already (just did slow cycle), then do anim 7008 to fly back behind the mountain and do the same wait as line above and set 11210069 + unset 11210066 + 67
- function 11210057 (unsure about purpose, makes sure only one 7X flag is set? Should not be the case anyway however)
- -> checks if combination of 11210068 + 1121007X is set and then sets 11210068 and all other 1121007X flags to 0 besides the 1121007X that was checked
- function 11210535 (shooting Kalameet down with Gough)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement