Editing
Air Buster
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== AI Script == === Start of battle === <pre> Declare BackToTarget Declare Ammo = 4 Declare Program = 0 Declare SelectedTarget Declare TurnBroken = 0 Declare Counter = 0 Declare FacingTarget = 0 </pre> === Turn === <pre> BackToTarget = 0 If (Ammo > 0) Then: If (Program == 0) Then: Display Message "Program 1 Operation" Program = 1 SelectedTarget = random opponent If (Self is not facing SelectedTarget) Then: If (TurnBroken == 0) Then: If (Self is facing Cloud) Then: Use Turn to face Barret & Tifa Else: Use Turn to face Cloud Else: BackToTarget = 1 If (Self is facing Cloud AND Cloud is defeated OR Self is facing Barret and Tifa AND Barret is defeated AND Tifa is defeated) Then: Ammo = 0 If (BackToTarget == 0) Then: Use Big Bomber on SelectedTarget Ammo = Ammo - 1 If (Ammo == 0) Then: Display Message "Big Bomber's out of ammo." Else: If (Program == 1) Then: Display Message "Program 2 Operation" Program = 2 SelectedTarget = random opponent If (SelectedTarget == Barret OR SelectedTarget == Tifa) Then: If (Self is facing Cloud) Then: Use Rear Gun on SelectedTarget Else: Use Energy Ball on SelectedTarget Else: If (Self is facing Cloud) Then: Use Energy Ball on SelectedTarget Else: Use Rear Gun on Selected Target </pre> === Counter (Attacked) === <pre> If (Self HP < 1/5 * Self Max HP) Then: If (TurnBroken == 0) Then: Display Message "Turn Function non-operational" TurnBroken = 1 SelectedTarget = last attacker If (Self is facing Barret and Tifa AND SelectedTarget == Cloud OR Self is facing Cloud AND (SelectedTarget == Barret OR SelectedTarget == Tifa)) Then: Counter = 1 If (Counter == 1) Then: FacingTarget = 0 Counter = 0 Display Message "Counter Attack" If (TurnBroken == 0 AND 2/3 Chance) Then: If (Self is facing Cloud) Then: Use Turn to face Barret & Tifa Use Bodyblow* on SelectedTarget Else: Use Turn to face Cloud Use Bodyblow* on SelectedTarget FacingTarget = 1 If (FacingTarget == 0) Then: Use Rear Gun on SelectedTarget </pre> === Counter (Death) === <pre> Turn off Death Handling for Self Use Destroyed </pre>
Summary:
Please note that all contributions to Final Fantasy VII Speedrun Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Final Fantasy VII Speedrun Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information