[PSX/PC] General editor - Hades Workshop (0.50b)

  • Thread starter Thread starter Tirlititi
  • Start date Start date
Status
Not open for further replies.
Which string and which tutorial? What I did for Alternate Fantasy is a lot like what is described there.
For the Ipsen Curse, it's only a flag in the battles: you see that all the enemies of the Ipsen castle have this "Ipsen Curse" flag enabled.
It's a bit different for the Oeilvert Curse because that one also has an effect out of battles (you can't use magics). For this curse, there's the flag in the battles but also a general variable that is changed in the "Entrance" field of Oeilvert (I don't remember if it's turned off in the field where Ark is or if it's in one of the Desert Palace fields). The general variable is "Setting_MagicOff": as long as it's 1, magic is disabled in the player's menu.
those informations are extremely important :O , and yes , i like to know what you did in alternate fantasy about the injection of beatrix in the character selection, i also find out something really funny : i give to blank one blue magic , the 1000 needles , now , he performed it perfectly with the right animation to cast the spell , the problem is that instead of the 1000 needles , he launched the holy magic , why that happened ? i noticed the same problem wen placing a magic in the command panel of techniques that aren't considered ordinary magic ( when i placed holy on the saiken panel , instead of the holy , i obtained the animation of a poisoning magic ) ; about my curiosity for your method to add beatrix , i am not a modder , not an hacker , and not someone who want to become an hacker or a modder , i only want to know that so i can set in the game the changes that i prefer and enjoy it , i am not a triple crosser or someone who want to take the credits for someone else work , it would be really stupid because at some point , people will start to ask to the one who steal the credits some informations , just like in your case , but in case of those who steal the credits , they can't be of any help at all , and they end up begin spotted in their ignorance , so don't worry , you can tell me that without fear any act of ingratitude :D
 
Last edited:
Which string and which tutorial? What I did for Alternate Fantasy is a lot like what is described there.
For the Ipsen Curse, it's only a flag in the battles: you see that all the enemies of the Ipsen castle have this "Ipsen Curse" flag enabled.
It's a bit different for the Oeilvert Curse because that one also has an effect out of battles (you can't use magics). For this curse, there's the flag in the battles but also a general variable that is changed in the "Entrance" field of Oeilvert (I don't remember if it's turned off in the field where Ark is or if it's in one of the Desert Palace fields). The general variable is "Setting_MagicOff": as long as it's 1, magic is disabled in the player's menu.
One question about the Ispen Curse, tirlititi: would it be possible to somehow 'expand' this curse to also include other physical abilities like Jump, Throw, or Steiner's sword skills? Because as of yet, it's very easy to circumvent the curse altogether since it only affects the Attack command, so there's little reason to switch to the weakest weapons like the game seems to have intended (why else would you find all the weapons from the beginning in this dungeon?). I've always liked to use each character's respective skills and abilities over plain physical attacks because that's just... uhm, cooler, lol. That's why on my very first playthrough, I honestly didn't even realize that the Ipsen Curse existed! When I later read about it, I just thought to myself 'what're they talking about?', and couldn't remember anything strange about Ipsen. When I paid attention on my next playthrough, I finally discovered the curse, but I'd say it is very poorly implemented if it's that easy to miss. In my opinion, when a whole dungeon is based around such a special circumstance, then that effect should be much more apparent. I don't know how complicated this would be though.
 
Which string and which tutorial? What I did for Alternate Fantasy is a lot like what is described there.
For the Ipsen Curse, it's only a flag in the battles: you see that all the enemies of the Ipsen castle have this "Ipsen Curse" flag enabled.
It's a bit different for the Oeilvert Curse because that one also has an effect out of battles (you can't use magics). For this curse, there's the flag in the battles but also a general variable that is changed in the "Entrance" field of Oeilvert (I don't remember if it's turned off in the field where Ark is or if it's in one of the Desert Palace fields). The general variable is "Setting_MagicOff": as long as it's 1, magic is disabled in the player's menu.

what's exactly the function of the ipsen's castle field were the curse id placed ? wait , you said that the ipsen course is only that flag in the enemy list , so i only have to remove that flag
 
Last edited:
@ploppo: About the wrong spell special effects, that's quite strange ; I think you did something wrong in your settings. The poisonous effect is the default animation in most cases (when no other is set).
About how I added Beatrix, I don't mind giving you tips, but you need to be more specific... Did you read the tutorial? What didn't you understand?

Again, there is nothing related to the Ipsen Curse in the field. The flag in the battles is everything there is.


@Kefka: Yes, it is possible with dnSpy again. In the "btl_calc::CalcMain", you need to put the line "btl_calc.CalcSub_15E(cALC_VAR);" a bit everywhere ^^'
Again, having a look at this file makes it easier to read the spell effects before editing the real thing (that has idiotic names and is harder to read).

For example, go to the "case 19" (Physical Strike effect) and change it to this:
Code: [Select]
Code:
 case 19:  btl_calc.CalcSub_13A(cALC_VAR);  btl_calc.CalcSub_141(cALC_VAR);  btl_calc.CalcSub_143(cALC_VAR);  btl_calc.CalcSub_159(cALC_VAR);  if (btl_calc.CalcSub_152(cALC_VAR))  {   btl_calc.CalcSub_15E(cALC_VAR);   btl_calc.CalcSub_203(cALC_VAR);   btl_calc.CalcSub_270(cALC_VAR);  }  break;
You should put the line before the "CalcSub_20X" ("DoSetDamage_..." in the readable version).
 
@Tirlititi  sorry lol , i misunderstood about the ipsen curse , about beatrix , i take a look in the little tutorial you posted in the post of steam and the one you placed in one of the pages of this post , and i understood that you didn't used the same method to add beatrix in the party selection , infact as i said i never saw the lines that incenerator suggested me to use some messages ago , but i am only interested in know how you make her appear in the character selection , i don't need to add her in the cutscenes  , i hope that this time i managed to be more clear




please check out my previous comment , now is readable XD , i was distracted so i just put my reply inside the quote




ok my bad , now i know that the blue magics in blank are displayed correctly , sorry for the inconvenient :\

Posts merged. Please use the edit button in the future. ~Covarr
 
Last edited:
Model importer update: still can't swap weapons. Tried swapping Javelin GameObject with Kain's Lance GameObject, to no avail.
 
@Incinerator  i finally assigned the ost theme of zon an thorn to the respective bosses by modifiyng the btlbgm data , but the strange thing is that even after that modification , the only ost that run during the fight with them is still the one of the bosses encounters , the other strange thing is that in the btlbgmmetadata i only found the enemy id 74 , and that is the id of zon and thron the first time , the other two id were just not present in that file , what do you think ? where i am wrong ?
 
Model importer update: still can't swap weapons. Tried swapping Javelin GameObject with Kain's Lance GameObject, to no avail.
i am interested in this , what was this about ? for now the only cool thing that i can do with the weapons is to give them to people that usually can't use them , like for example give the save the queen to daga and zidane :D
 
@Tirlititi
At the same time I tried replace said Javelin GameObject with Halberd spear from FFXII for tests, it didn't crash the model importer (I tried to keep the original hierarchy the same in this case and it worked on that part at least.) In game, the game didn't crash, but the weapon was invisible.
 
Last edited:
@Incinerator hey , what do you think i did wrong about the latest thing that i asked you ?  ???
 
@ToraCarol: About the animation at Ipsen Castle, I can't say anything without the script code that you use.
I still don't know how to handle cameras... You can try random things like using the following kind of lines after Blank joins the fight:
Code: [Select]
Code:
RunBattleCode( 36, 0 ) // Change "0" to other numbers to try different cameras
Sorry for late answers but that's a lot of things to read.

Ok, I'll give a try! And about the Ipsen caste..for now I resetted the code, I'll try once gain later, if I'll have other problem and I din't figured how to solve, I'll let you know.. so don't worry! And thank you for everything, you guys, thank to you I'm making a very nice job  :P
 
there's another thing that is unclear : why hades workshop disable the options for the battle fields in the steam version ?
 
Guys! How do I fix, in this case, the head focus of the BlackMage and Quina so that they can turn toward GenomeA instead of Blank? I don't know why but whe i putted Blank on the field this thing happened!

NXm3gpF.png


EDIT: Solved, and easier than I thought! ;)
 
Last edited:
hey Tirlititi when modding field scripts where do they save on pc? in csharp or one of the data files?
 
@resinate: Exactly what Incinerator said. Scripts are not in the CSharp.
Except for the texts (which are in "resources.assets"), the CSharp includes what's in the "Party", "Items" and "CIL Code" panels (there may be a couple of exceptions, like the "Status Sets" which are editable from the "Enemy" panel but are in the CSharp, but it is roughly correct).

@ToraCarol: Great that you fixed your problem yourself. I admit that I don't remember at all how head focuses are dealt with.
 
I simply added EnableHeadFocus (0) and everything came back to normal ;)

Now I have another problem...with the Hall of Despair.


I'm trying to replace Amarant with Blank it works.. but not at all, I mean, when I choose my party, it starts good, but when there's the "HP force" thing nothing happen, for example: Steiner gives his HP to Vivi but Vivi wont wake up or react.. (but I don't know if is exactly Vivi because the "aura" is not exactly going to that character.. so is stranger tough..)


Screens of the problem


P2SGPsC.png

KmXI5wA.png

izaCryR.png


Code full of Main Loop


Code: [Select]
Code:
Function Main_Loop    0xA9( 250 )    FadeFilter( 1, 64, VAR_GlobUInt8_17, 0, 0, 0 )    set Field_MusicVolume = 0    RunSoundCode2( 34305, 0, 128, Field_MusicVolume )    set VAR_GlobBool_167 = 0    if ( 1 ) {        set VAR_GlobBool_167 = 1    }    Wait( 64 )    RunSoundCode( 1792, 71 )    while ( SyncSounds != 0 ) {        Wait( 1 )    }    set VAR_GlobBool_167 = 0    RunSoundCode( 1792, 71 )    while ( SyncSounds != 0 ) {        Wait( 1 )    }    RunSoundCode1( 16903, 71, 1 )    RunSoundCode1( 16897, 71, 0 )    set Field_MusicVolume = 125    RunSoundCode2( 34305, 0, 128, Field_MusicVolume )    set VAR_GlobBool_167 = 0    RunScriptSync( 2, 7, 19 )    FadeFilter( 2, 15, VAR_GlobUInt8_17, 128, 128, 128 )    Wait( 15 )    WindowAsync( 1, 16, 273 )    RaiseWindows(  )    WaitWindow( 1 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 15, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 15 )    WindowSyncEx( 7, 0, 128, 274 )    MoveCamera( 180, 180, -100, 8 )    RunScriptAsync( 2, 7, 20 )    FadeFilter( 2, 15, VAR_GlobUInt8_17, 128, 128, 128 )    Wait( 15 )    WindowAsync( 1, 16, 275 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 276 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 277 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 278 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 279 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 280 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 281 )    RaiseWindows(  )    WaitWindow( 1 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 15, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 15 )    RunScriptSync( 2, 7, 21 )    FadeFilter( 2, 15, VAR_GlobUInt8_17, 128, 128, 128 )    Wait( 15 )    WindowAsync( 1, 16, 285 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 286 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 287 )    RaiseWindows(  )    WaitWindow( 1 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 15, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 15 )    WindowSyncEx( 7, 0, 128, 288 )    FadeFilter( 2, 15, VAR_GlobUInt8_17, 128, 128, 128 )    Wait( 15 )    WindowAsync( 1, 16, 289 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 290 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 291 )    RaiseWindows(  )    WaitWindow( 1 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 15, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 15 )    WindowSyncEx( 7, 0, 128, 292 )    WindowSyncEx( 7, 0, 128, 293 )    FadeFilter( 2, 15, VAR_GlobUInt8_17, 128, 128, 128 )    Wait( 15 )    WindowAsync( 1, 16, 294 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 295 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 296 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 297 )    RaiseWindows(  )    WaitWindow( 1 )    WindowAsync( 1, 16, 298 )    RaiseWindows(  )    WaitWindow( 1 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 15, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 15 )    WindowSyncEx( 7, 0, 128, 299 )    WindowSyncEx( 7, 0, 128, 300 )    WindowSyncEx( 7, 0, 128, 301 )    RunScriptSync( 2, 7, 22 )    WindowSyncEx( 7, 0, 128, 302 )    WindowSyncEx( 7, 0, 128, 306 )    WindowSyncEx( 7, 0, 128, 303 )    WindowSyncEx( 7, 0, 128, 304 )    RunScriptSync( 2, 7, 23 )    WindowSyncEx( 7, 0, 128, 305 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 6, 24, VAR_GlobUInt8_17, 255, 255, 255 )    Wait( 25 )    SetHP( 0, 1 )    SetHP( 6, 1 )    SetHP( 3, 1 )    SetHP( 1, 1 )    SetHP( 4, 1 )    SetHP( 5, 1 )    SetHP( 7, 1 )    SetHP( 2, 1 )    SetHP( 11, 1 )    SetPartyReserve( 1279 )    SetCharacterData( 11, 0, 255, 21, 12 )    SetName( 11, 74 )    if ( 1 ) {        Party( 4, 0 )        UpdatePartyUI(  )    } else {        Party( 0, 0 )        UpdatePartyUI(  )    }    if ( IsInParty(5) ) {        set Setting_OptionalQuina = 1    }    RunScriptAsync( 6, 7, 24 )    RunScriptAsync( 6, 8, 24 )    RunScriptAsync( 6, 10, 24 )    RunScriptAsync( 6, 14, 24 )    RunScriptAsync( 6, 12, 24 )    RunScriptAsync( 6, 9, 24 )    RunScriptAsync( 6, 13, 24 )    RunScriptAsync( 6, 11, 24 )    if ( GetEntryUniqueID(251) == GetEntryUniqueID(6) ) {        set VAR_GlobUInt8_46 = 0        if ( GetEntryUniqueID(252) == GetEntryUniqueID(12) ) {            set VAR_GlobUInt8_47 = 2            if ( GetEntryUniqueID(254) == GetEntryUniqueID(7) ) {                set VAR_GlobUInt8_48 = 3                set VAR_GlobUInt8_49 = 1                set VAR_GlobUInt8_42 = 4                set VAR_GlobUInt8_43 = 5                set VAR_GlobUInt8_44 = 6                set VAR_GlobUInt8_45 = 11            } else {                if ( GetEntryUniqueID(254) == GetEntryUniqueID(10) ) {                    set VAR_GlobUInt8_49 = 4                    set VAR_GlobUInt8_43 = 5                    set VAR_GlobUInt8_44 = 6                    set VAR_GlobUInt8_45 = 11                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(9) ) {                        set VAR_GlobUInt8_48 = 3                        set VAR_GlobUInt8_42 = 1                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                            set VAR_GlobUInt8_42 = 3                            set VAR_GlobUInt8_48 = 1                        }                    }                } else {                    if ( GetEntryUniqueID(254) == GetEntryUniqueID(11) ) {                        set VAR_GlobUInt8_49 = 5                        set VAR_GlobUInt8_44 = 6                        set VAR_GlobUInt8_45 = 11                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(9) ) {                            set VAR_GlobUInt8_48 = 3                            set VAR_GlobUInt8_42 = 1                            set VAR_GlobUInt8_43 = 4                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                                set VAR_GlobUInt8_48 = 1                                set VAR_GlobUInt8_42 = 3                                set VAR_GlobUInt8_43 = 4                            } else {                                if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                                    set VAR_GlobUInt8_48 = 4                                    set VAR_GlobUInt8_42 = 3                                    set VAR_GlobUInt8_43 = 1                                }                            }                        }                    } else {                        if ( GetEntryUniqueID(254) == GetEntryUniqueID(13) ) {                            set VAR_GlobUInt8_49 = 6                            set VAR_GlobUInt8_45 = 11                            if ( GetEntryUniqueID(253) != GetEntryUniqueID(11) ) {                                set VAR_GlobUInt8_44 = 5                                if ( GetEntryUniqueID(253) != GetEntryUniqueID(10) ) {                                    set VAR_GlobUInt8_43 = 4                                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(9) ) {                                        set VAR_GlobUInt8_42 = 1                                        set VAR_GlobUInt8_48 = 3                                    } else {                                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                                            set VAR_GlobUInt8_48 = 1                                            set VAR_GlobUInt8_42 = 3                                        }                                    }                                } else {                                    set VAR_GlobUInt8_48 = 4                                    set VAR_GlobUInt8_42 = 3                                    set VAR_GlobUInt8_43 = 1                                }                            } else {                                set VAR_GlobUInt8_48 = 5                                set VAR_GlobUInt8_42 = 3                                set VAR_GlobUInt8_43 = 1                                set VAR_GlobUInt8_44 = 4                            }                        } else {                            if ( GetEntryUniqueID(254) == GetEntryUniqueID(8) ) {                                set VAR_GlobUInt8_49 = 11                                if ( GetEntryUniqueID(253) != GetEntryUniqueID(13) ) {                                    set VAR_GlobUInt8_45 = 6                                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(9) ) {                                        set VAR_GlobUInt8_48 = 3                                        set VAR_GlobUInt8_42 = 1                                        set VAR_GlobUInt8_43 = 4                                        set VAR_GlobUInt8_44 = 5                                    } else {                                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                                            set VAR_GlobUInt8_42 = 3                                            set VAR_GlobUInt8_48 = 1                                            set VAR_GlobUInt8_43 = 4                                            set VAR_GlobUInt8_44 = 5                                        } else {                                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                                                set VAR_GlobUInt8_42 = 3                                                set VAR_GlobUInt8_43 = 1                                                set VAR_GlobUInt8_48 = 4                                                set VAR_GlobUInt8_44 = 5                                            } else {                                                if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                                                    set VAR_GlobUInt8_42 = 3                                                    set VAR_GlobUInt8_43 = 1                                                    set VAR_GlobUInt8_44 = 4                                                    set VAR_GlobUInt8_48 = 5                                                }                                            }                                        }                                    }                                } else {                                    set VAR_GlobUInt8_48 = 6                                    set VAR_GlobUInt8_42 = 3                                    set VAR_GlobUInt8_43 = 1                                    set VAR_GlobUInt8_44 = 4                                    set VAR_GlobUInt8_45 = 5                                }                            }                        }                    }                }            }        } else {            if ( GetEntryUniqueID(252) == GetEntryUniqueID(9) ) {                set VAR_GlobUInt8_47 = 3                set VAR_GlobUInt8_42 = 2                if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_48 = 1                    if ( GetEntryUniqueID(254) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_49 = 4                        set VAR_GlobUInt8_43 = 5                        set VAR_GlobUInt8_44 = 6                        set VAR_GlobUInt8_45 = 11                    } else {                        if ( GetEntryUniqueID(254) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_49 = 5                            set VAR_GlobUInt8_43 = 4                            set VAR_GlobUInt8_44 = 6                            set VAR_GlobUInt8_45 = 11                        } else {                            if ( GetEntryUniqueID(254) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_49 = 6                                set VAR_GlobUInt8_43 = 4                                set VAR_GlobUInt8_44 = 5                                set VAR_GlobUInt8_45 = 11                            } else {                                if ( GetEntryUniqueID(254) == GetEntryUniqueID(8) ) {                                    set VAR_GlobUInt8_49 = 11                                    set VAR_GlobUInt8_43 = 4                                    set VAR_GlobUInt8_44 = 5                                    set VAR_GlobUInt8_45 = 6                                }                            }                        }                    }                } else {                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_48 = 4                        set VAR_GlobUInt8_43 = 1                        RunScriptSync( 2, 6, 25 )                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_48 = 5                            set VAR_GlobUInt8_43 = 1                            set VAR_GlobUInt8_44 = 4                            RunScriptSync( 2, 6, 26 )                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_48 = 6                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_43 = 1                                set VAR_GlobUInt8_44 = 4                                set VAR_GlobUInt8_45 = 5                            }                        }                    }                }            } else {                if ( GetEntryUniqueID(252) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_47 = 1                    set VAR_GlobUInt8_42 = 2                    set VAR_GlobUInt8_43 = 3                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_48 = 4                        RunScriptSync( 2, 6, 25 )                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_48 = 5                            set VAR_GlobUInt8_44 = 4                            RunScriptSync( 2, 6, 26 )                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_48 = 6                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_44 = 4                                set VAR_GlobUInt8_45 = 5                            }                        }                    }                } else {                    if ( GetEntryUniqueID(252) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_47 = 4                        set VAR_GlobUInt8_42 = 2                        set VAR_GlobUInt8_43 = 3                        set VAR_GlobUInt8_44 = 1                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_48 = 5                            RunScriptSync( 2, 6, 26 )                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_48 = 6                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_45 = 5                            }                        }                    } else {                        if ( GetEntryUniqueID(252) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_42 = 2                            set VAR_GlobUInt8_43 = 3                            set VAR_GlobUInt8_44 = 1                            set VAR_GlobUInt8_45 = 4                            set VAR_GlobUInt8_47 = 5                            set VAR_GlobUInt8_48 = 6                            set VAR_GlobUInt8_49 = 11                        }                    }                }            }        }    } else {        if ( GetEntryUniqueID(251) == GetEntryUniqueID(12) ) {            set VAR_GlobUInt8_46 = 2            set VAR_GlobUInt8_42 = 0            if ( GetEntryUniqueID(252) == GetEntryUniqueID(9) ) {                set VAR_GlobUInt8_47 = 3                if ( GetEntryUniqueID(253) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_48 = 1                    if ( GetEntryUniqueID(254) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_49 = 4                        set VAR_GlobUInt8_43 = 5                        set VAR_GlobUInt8_44 = 6                        set VAR_GlobUInt8_45 = 11                    } else {                        if ( GetEntryUniqueID(254) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_49 = 5                            set VAR_GlobUInt8_43 = 4                            set VAR_GlobUInt8_44 = 6                            set VAR_GlobUInt8_45 = 11                        } else {                            if ( GetEntryUniqueID(254) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_49 = 6                                set VAR_GlobUInt8_43 = 4                                set VAR_GlobUInt8_44 = 5                                set VAR_GlobUInt8_45 = 11                            } else {                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_43 = 4                                set VAR_GlobUInt8_44 = 5                                set VAR_GlobUInt8_45 = 6                            }                        }                    }             
 
Last edited:
Part 2

Code: [Select]
Code:
   } else {                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_48 = 4                        set VAR_GlobUInt8_43 = 1                        RunScriptSync( 2, 6, 25 )                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_48 = 5                            set VAR_GlobUInt8_43 = 1                            set VAR_GlobUInt8_44 = 4                            RunScriptSync( 2, 6, 26 )                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_48 = 6                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_43 = 1                                set VAR_GlobUInt8_44 = 4                                set VAR_GlobUInt8_45 = 5                            }                        }                    }                }            } else {                if ( GetEntryUniqueID(252) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_47 = 1                    set VAR_GlobUInt8_43 = 3                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_48 = 4                        RunScriptSync( 2, 6, 25 )                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_48 = 5                            set VAR_GlobUInt8_44 = 4                            RunScriptSync( 2, 6, 26 )                        } else {                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                set VAR_GlobUInt8_48 = 6                                set VAR_GlobUInt8_49 = 11                                set VAR_GlobUInt8_44 = 4                                set VAR_GlobUInt8_45 = 5                            }                        }                    }                } else {                    set VAR_GlobUInt8_43 = 3                    set VAR_GlobUInt8_44 = 1                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                        set VAR_GlobUInt8_47 = 4                        set VAR_GlobUInt8_48 = 5                        RunScriptSync( 2, 6, 26 )                    } else {                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                            set VAR_GlobUInt8_48 = 6                            set VAR_GlobUInt8_49 = 11                            if ( GetEntryUniqueID(252) == GetEntryUniqueID(10) ) {                                set VAR_GlobUInt8_47 = 4                                set VAR_GlobUInt8_45 = 5                            } else {                                if ( GetEntryUniqueID(252) == GetEntryUniqueID(11) ) {                                    set VAR_GlobUInt8_47 = 5                                    set VAR_GlobUInt8_45 = 4                                }                            }                        }                    }                }            }        } else {            if ( GetEntryUniqueID(251) == GetEntryUniqueID(9) ) {                set VAR_GlobUInt8_46 = 3                set VAR_GlobUInt8_42 = 0                set VAR_GlobUInt8_43 = 2                if ( GetEntryUniqueID(252) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_47 = 1                    if ( GetEntryUniqueID(254) == GetEntryUniqueID(11) ) {                        set VAR_GlobUInt8_48 = 4                        set VAR_GlobUInt8_49 = 5                        set VAR_GlobUInt8_44 = 6                        set VAR_GlobUInt8_45 = 11                    } else {                        if ( GetEntryUniqueID(254) == GetEntryUniqueID(13) ) {                            set VAR_GlobUInt8_49 = 6                            set VAR_GlobUInt8_45 = 11                            if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                                set VAR_GlobUInt8_48 = 4                                set VAR_GlobUInt8_44 = 5                            } else {                                if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                                    set VAR_GlobUInt8_48 = 5                                    set VAR_GlobUInt8_44 = 4                                }                            }                        } else {                            if ( GetEntryUniqueID(254) == GetEntryUniqueID(8) ) {                                set VAR_GlobUInt8_49 = 11                                if ( GetEntryUniqueID(253) == GetEntryUniqueID(10) ) {                                    set VAR_GlobUInt8_48 = 4                                    set VAR_GlobUInt8_44 = 5                                    set VAR_GlobUInt8_45 = 6                                } else {                                    if ( GetEntryUniqueID(253) == GetEntryUniqueID(11) ) {                                        set VAR_GlobUInt8_48 = 5                                        set VAR_GlobUInt8_44 = 4                                        set VAR_GlobUInt8_45 = 6                                    } else {                                        if ( GetEntryUniqueID(253) == GetEntryUniqueID(13) ) {                                            set VAR_GlobUInt8_44 = 4                                            set VAR_GlobUInt8_45 = 5                                            set VAR_GlobUInt8_48 = 6                                        }                                    }                                }                            }                        }                    }                } else {                    if ( GetEntryUniqueID(252) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_47 = 4                        set VAR_GlobUInt8_44 = 1                        if ( IsInParty(5) == 0 ) {                            set VAR_GlobUInt8_45 = 5                            set VAR_GlobUInt8_48 = 6                            set VAR_GlobUInt8_49 = 11                        } else {                            if ( IsInParty(11) == 0 ) {                                set VAR_GlobUInt8_45 = 6                                set VAR_GlobUInt8_48 = 5                                set VAR_GlobUInt8_49 = 11                            } else {                                if ( IsInParty(2) == 0 ) {                                    set VAR_GlobUInt8_48 = 5                                    set VAR_GlobUInt8_49 = 6                                    set VAR_GlobUInt8_45 = 11                                }                            }                        }                    } else {                        if ( GetEntryUniqueID(252) == GetEntryUniqueID(11) ) {                            set VAR_GlobUInt8_47 = 5                            set VAR_GlobUInt8_48 = 6                            set VAR_GlobUInt8_49 = 11                            set VAR_GlobUInt8_44 = 1                            set VAR_GlobUInt8_45 = 4                        }                    }                }            } else {                if ( GetEntryUniqueID(251) == GetEntryUniqueID(7) ) {                    set VAR_GlobUInt8_46 = 1                    set VAR_GlobUInt8_42 = 0                    set VAR_GlobUInt8_43 = 2                    set VAR_GlobUInt8_44 = 3                    if ( IsInParty(4) != 1 ) {                        set VAR_GlobUInt8_45 = 4                        set VAR_GlobUInt8_47 = 5                        set VAR_GlobUInt8_48 = 6                        set VAR_GlobUInt8_49 = 11                    } else {                        if ( IsInParty(5) != 1 ) {                            set VAR_GlobUInt8_47 = 4                            set VAR_GlobUInt8_45 = 5                            set VAR_GlobUInt8_48 = 6                            set VAR_GlobUInt8_49 = 11                        } else {                            if ( IsInParty(11) != 1 ) {                                set VAR_GlobUInt8_47 = 4                                set VAR_GlobUInt8_48 = 5                                set VAR_GlobUInt8_45 = 6                                set VAR_GlobUInt8_49 = 11                            } else {                                if ( IsInParty(2) != 1 ) {                                    set VAR_GlobUInt8_47 = 4                                    set VAR_GlobUInt8_48 = 5                                    set VAR_GlobUInt8_49 = 6                                    set VAR_GlobUInt8_45 = 11                                }                            }                        }                    }                } else {                    if ( GetEntryUniqueID(251) == GetEntryUniqueID(10) ) {                        set VAR_GlobUInt8_46 = 4                        set VAR_GlobUInt8_47 = 5                        set VAR_GlobUInt8_48 = 6                        set VAR_GlobUInt8_49 = 11                        set VAR_GlobUInt8_42 = 0                        set VAR_GlobUInt8_43 = 2                        set VAR_GlobUInt8_44 = 3                        set VAR_GlobUInt8_45 = 1                    }                }            }        }    }    switch 8 ( VAR_GlobUInt8_42 ) from 0 {    case +0:        set VAR_GlobUInt8_51 = GetEntryUniqueID(7)        break    case +1:        set VAR_GlobUInt8_51 = GetEntryUniqueID(8)        break    case +2:        set VAR_GlobUInt8_51 = GetEntryUniqueID(13)        break    case +3:        set VAR_GlobUInt8_51 = GetEntryUniqueID(10)        break    case +4:        set VAR_GlobUInt8_51 = GetEntryUniqueID(11)        break    case +5:        set VAR_GlobUInt8_51 = GetEntryUniqueID(12)        break    case +6:        set VAR_GlobUInt8_51 = GetEntryUniqueID(14)        break    case +7:        set VAR_GlobUInt8_51 = GetEntryUniqueID(9)        break    }    switch 8 ( VAR_GlobUInt8_43 ) from 0 {    case +0:        set VAR_GlobUInt8_52 = GetEntryUniqueID(7)        break    case +1:        set VAR_GlobUInt8_52 = GetEntryUniqueID(8)        break    case +2:        set VAR_GlobUInt8_52 = GetEntryUniqueID(13)        break    case +3:        set VAR_GlobUInt8_52 = GetEntryUniqueID(10)        break    case +4:        set VAR_GlobUInt8_52 = GetEntryUniqueID(11)        break    case +5:        set VAR_GlobUInt8_52 = GetEntryUniqueID(12)        break    case +6:        set VAR_GlobUInt8_52 = GetEntryUniqueID(14)        break    case +7:        set VAR_GlobUInt8_52 = GetEntryUniqueID(9)        break    }    switch 8 ( VAR_GlobUInt8_44 ) from 0 {    case +0:        set VAR_GlobUInt8_53 = GetEntryUniqueID(7)        break    case +1:        set VAR_GlobUInt8_53 = GetEntryUniqueID(8)        break    case +2:        set VAR_GlobUInt8_53 = GetEntryUniqueID(13)        break    case +3:        set VAR_GlobUInt8_53 = GetEntryUniqueID(10)        break    case +4:        set VAR_GlobUInt8_53 = GetEntryUniqueID(11)        break    case +5:        set VAR_GlobUInt8_53 = GetEntryUniqueID(12)        break    case +6:        set VAR_GlobUInt8_53 = GetEntryUniqueID(14)        break    case +7:        set VAR_GlobUInt8_53 = GetEntryUniqueID(9)        break    }    switch 8 ( VAR_GlobUInt8_45 ) from 0 {    case +0:        set VAR_GlobUInt8_54 = GetEntryUniqueID(7)        break    case +1:        set VAR_GlobUInt8_54 = GetEntryUniqueID(8)        break    case +2:        set VAR_GlobUInt8_54 = GetEntryUniqueID(13)        break    case +3:        set VAR_GlobUInt8_54 = GetEntryUniqueID(10)        break    case +4:        set VAR_GlobUInt8_54 = GetEntryUniqueID(11)        break    case +5:        set VAR_GlobUInt8_54 = GetEntryUniqueID(12)        break    case +6:        set VAR_GlobUInt8_54 = GetEntryUniqueID(14)        break    case +7:        set VAR_GlobUInt8_54 = GetEntryUniqueID(9)        break    }    ReleaseCamera( 1, 8 )    Wait( 1 )    set VAR_GlobUInt8_41 = 0    RunScriptSync( 2, 7, 27 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 16, VAR_GlobUInt8_17, 0, 0, 0 )    DisableMenu(  )    Wait( 24 )    if ( IsInParty(0) & IsInParty(2) ) {        if ( ( IsInParty(1) & ( IsInParty(3) != 1 ) ) && ( IsInParty(6) == 1 ) ) {            set VAR_GlobUInt8_24 = VAR_GlobUInt8_43            set VAR_GlobUInt8_25 = VAR_GlobUInt8_49            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_52, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 254, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 8 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_43 != 0 ) && ( ( VAR_GlobUInt8_49 != 0 ) == 1 ) ) {                RunScript( 2, 7, 31 )            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_43 != 1 ) && ( ( VAR_GlobUInt8_49 != 1 ) == 1 ) ) {                RunScript( 2, 8, 31 )            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_43 != 2 ) && ( ( VAR_GlobUInt8_49 != 2 ) == 1 ) ) {                RunScript( 2, 13, 31 )            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_43 != 3 ) && ( ( VAR_GlobUInt8_49 != 3 ) == 1 ) ) {                RunScript( 2, 10, 31 )            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_43 != 4 ) && ( ( VAR_GlobUInt8_49 != 4 ) == 1 ) ) {                RunScript( 2, 11, 31 )            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_43 != 5 ) && ( ( VAR_GlobUInt8_49 != 5 ) == 1 ) ) {                RunScript( 2, 12, 31 )            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_43 != 6 ) && ( ( VAR_GlobUInt8_49 != 6 ) == 1 ) ) {                RunScript( 2, 1, 31 )            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_43 != 7 ) && ( ( VAR_GlobUInt8_49 != 7 ) == 1 ) ) {                RunScript( 2, 9, 31 )            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_45            set VAR_GlobUInt8_25 = VAR_GlobUInt8_47            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_54, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 252, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_45 != 0 ) && ( ( VAR_GlobUInt8_47 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_45 != 1 ) && ( ( VAR_GlobUInt8_47 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_45 != 2 ) && ( ( VAR_GlobUInt8_47 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_45 != 3 ) && ( ( VAR_GlobUInt8_47 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_45 != 4 ) && ( ( VAR_GlobUInt8_47 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_45 != 5 ) && ( ( VAR_GlobUInt8_47 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }
 
Part 3

Code: [Select]
Code:
            if ( ( VAR_GlobUInt8_45 != 6 ) && ( ( VAR_GlobUInt8_47 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 1, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_45 != 7 ) && ( ( VAR_GlobUInt8_47 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_24 = VAR_GlobUInt8_42            set VAR_GlobUInt8_25 = VAR_GlobUInt8_48            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_51, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 253, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_42 != 0 ) && ( ( VAR_GlobUInt8_48 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_42 != 1 ) && ( ( VAR_GlobUInt8_48 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_42 != 2 ) && ( ( VAR_GlobUInt8_48 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_42 != 3 ) && ( ( VAR_GlobUInt8_48 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_42 != 4 ) && ( ( VAR_GlobUInt8_48 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_42 != 5 ) && ( ( VAR_GlobUInt8_48 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_42 != 6 ) && ( ( VAR_GlobUInt8_48 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 14, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_42 != 7 ) && ( ( VAR_GlobUInt8_48 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            set VAR_GlobUInt8_41 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_44            set VAR_GlobUInt8_25 = VAR_GlobUInt8_46            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_53, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 251, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )        } else {            set VAR_GlobUInt8_24 = VAR_GlobUInt8_44            set VAR_GlobUInt8_25 = VAR_GlobUInt8_48            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_53, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 253, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 8 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_44 != 0 ) && ( ( VAR_GlobUInt8_48 != 0 ) == 1 ) ) {                RunScript( 2, 7, 31 )            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_44 != 1 ) && ( ( VAR_GlobUInt8_48 != 1 ) == 1 ) ) {                RunScript( 2, 8, 31 )            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_44 != 2 ) && ( ( VAR_GlobUInt8_48 != 2 ) == 1 ) ) {                RunScript( 2, 13, 31 )            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_44 != 3 ) && ( ( VAR_GlobUInt8_48 != 3 ) == 1 ) ) {                RunScript( 2, 10, 31 )            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_44 != 4 ) && ( ( VAR_GlobUInt8_48 != 4 ) == 1 ) ) {                RunScript( 2, 11, 31 )            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_44 != 5 ) && ( ( VAR_GlobUInt8_48 != 5 ) == 1 ) ) {                RunScript( 2, 12, 31 )            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_44 != 6 ) && ( ( VAR_GlobUInt8_48 != 6 ) == 1 ) ) {                RunScript( 2, 14, 31 )            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_44 != 7 ) && ( ( VAR_GlobUInt8_48 != 7 ) == 1 ) ) {                RunScript( 2, 9, 31 )            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_45            set VAR_GlobUInt8_25 = VAR_GlobUInt8_49            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_54, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 254, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_45 != 0 ) && ( ( VAR_GlobUInt8_49 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_45 != 1 ) && ( ( VAR_GlobUInt8_49 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_45 != 2 ) && ( ( VAR_GlobUInt8_49 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_45 != 3 ) && ( ( VAR_GlobUInt8_49 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_45 != 4 ) && ( ( VAR_GlobUInt8_49 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_45 != 5 ) && ( ( VAR_GlobUInt8_49 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_45 != 6 ) && ( ( VAR_GlobUInt8_49 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 14, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_45 != 7 ) && ( ( VAR_GlobUInt8_49 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_24 = VAR_GlobUInt8_43            set VAR_GlobUInt8_25 = VAR_GlobUInt8_47            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_52, 28 )        &            }            if ( ( VAR_GlobUInt8_43 != 2 ) && ( ( VAR_GlobUInt8_47 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_43 != 3 ) && ( ( VAR_GlobUInt8_47 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_43 != 4 ) && ( ( VAR_GlobUInt8_47 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_43 != 5 ) && ( ( VAR_GlobUInt8_47 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_43 != 6 ) && ( ( VAR_GlobUInt8_47 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 1, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_43 != 7 ) && ( ( VAR_GlobUInt8_47 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            set VAR_GlobUInt8_41 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_42            set VAR_GlobUInt8_25 = VAR_GlobUInt8_46            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_51, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 251, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )        }    } else {        if ( IsInParty(0) ) {            set VAR_GlobUInt8_24 = VAR_GlobUInt8_44            set VAR_GlobUInt8_25 = VAR_GlobUInt8_49            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_53, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 254, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 8 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_44 != 0 ) && ( ( VAR_GlobUInt8_49 != 0 ) == 1 ) ) {                RunScript( 2, 7, 31 )            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_44 != 1 ) && ( ( VAR_GlobUInt8_49 != 1 ) == 1 ) ) {                RunScript( 2, 8, 31 )            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_44 != 2 ) && ( ( VAR_GlobUInt8_49 != 2 ) == 1 ) ) {                RunScript( 2, 13, 31 )            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_44 != 3 ) && ( ( VAR_GlobUInt8_49 != 3 ) == 1 ) ) {                RunScript( 2, 10, 31 )            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_44 != 4 ) && ( ( VAR_GlobUInt8_49 != 4 ) == 1 ) ) {                RunScript( 2, 11, 31 )            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_44 != 5 ) && ( ( VAR_GlobUInt8_49 != 5 ) == 1 ) ) {                RunScript( 2, 12, 31 )            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_44 != 6 ) && ( ( VAR_GlobUInt8_49 != 6 ) == 1 ) ) {                RunScript( 2, 14, 31 )            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_44 != 7 ) && ( ( VAR_GlobUInt8_49 != 7 ) == 1 ) ) {                RunScript( 2, 9, 31 )            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_42            set VAR_GlobUInt8_25 = VAR_GlobUInt8_48            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_51, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 253, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_42 != 0 ) && ( ( VAR_GlobUInt8_48 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_42 != 1 ) && ( ( VAR_GlobUInt8_48 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_42 != 2 ) && ( ( VAR_GlobUInt8_48 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_42 != 3 ) && ( ( VAR_GlobUInt8_48 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_42 != 4 ) && ( ( VAR_GlobUInt8_48 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_42 != 5 ) && ( ( VAR_GlobUInt8_48 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_42 != 6 ) && ( ( VAR_GlobUInt8_48 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 14, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_42 != 7 ) && ( ( VAR_GlobUInt8_48 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_24 = VAR_GlobUInt8_43            set VAR_GlobUInt8_25 = VAR_GlobUInt8_47            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }   
 
Part 4

Code: [Select]
Code:
         RunScriptSync( 2, VAR_GlobUInt8_52, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 252, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_43 != 0 ) && ( ( VAR_GlobUInt8_47 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_43 != 1 ) && ( ( VAR_GlobUInt8_47 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_43 != 2 ) && ( ( VAR_GlobUInt8_47 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_43 != 3 ) && ( ( VAR_GlobUInt8_47 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_43 != 4 ) && ( ( VAR_GlobUInt8_47 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_43 != 5 ) && ( ( VAR_GlobUInt8_47 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_43 != 6 ) && ( ( VAR_GlobUInt8_47 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 1, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_43 != 7 ) && ( ( VAR_GlobUInt8_47 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            set VAR_GlobUInt8_41 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_45            set VAR_GlobUInt8_25 = VAR_GlobUInt8_46            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_54, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 251, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )        } else {            set VAR_GlobUInt8_24 = VAR_GlobUInt8_45            set VAR_GlobUInt8_25 = VAR_GlobUInt8_48            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_54, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 253, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 8 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_45 != 0 ) && ( ( VAR_GlobUInt8_48 != 0 ) == 1 ) ) {                RunScript( 2, 7, 31 )            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_45 != 1 ) && ( ( VAR_GlobUInt8_48 != 1 ) == 1 ) ) {                RunScript( 2, 8, 31 )            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_45 != 2 ) && ( ( VAR_GlobUInt8_48 != 2 ) == 1 ) ) {                RunScript( 2, 13, 31 )            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_45 != 3 ) && ( ( VAR_GlobUInt8_48 != 3 ) == 1 ) ) {                RunScript( 2, 10, 31 )            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_45 != 4 ) && ( ( VAR_GlobUInt8_48 != 4 ) == 1 ) ) {                RunScript( 2, 11, 31 )            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_45 != 5 ) && ( ( VAR_GlobUInt8_48 != 5 ) == 1 ) ) {                RunScript( 2, 12, 31 )            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_45 != 6 ) && ( ( VAR_GlobUInt8_48 != 6 ) == 1 ) ) {                RunScript( 2, 1, 31 )            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_45 != 7 ) && ( ( VAR_GlobUInt8_48 != 7 ) == 1 ) ) {                RunScript( 2, 9, 31 )            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_43            set VAR_GlobUInt8_25 = VAR_GlobUInt8_47            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_52, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 252, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 6 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_43 != 0 ) && ( ( VAR_GlobUInt8_47 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_43 != 1 ) && ( ( VAR_GlobUInt8_47 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_43 != 2 ) && ( ( VAR_GlobUInt8_47 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_43 != 3 ) && ( ( VAR_GlobUInt8_47 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_43 != 4 ) && ( ( VAR_GlobUInt8_47 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_43 != 5 ) && ( ( VAR_GlobUInt8_47 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_43 != 6 ) && ( ( VAR_GlobUInt8_47 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 1, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_43 != 7 ) && ( ( VAR_GlobUInt8_47 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            set VAR_GlobUInt8_41 = 0            set VAR_GlobUInt8_24 = VAR_GlobUInt8_44            set VAR_GlobUInt8_25 = VAR_GlobUInt8_46            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_53, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 251, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 4 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )            RunScriptAsync( 6, 5, 17 )            while ( VAR_GlobUInt8_41 < 3 ) {                Wait( 1 )            }            if ( ( VAR_GlobUInt8_44 != 0 ) && ( ( VAR_GlobUInt8_46 != 0 ) == 1 ) ) {                if ( VARL_GlobBool_407 != 1 ) {                    RunScript( 2, 7, 31 )                }            } else {                set VARL_GlobBool_407 = 1            }            if ( ( VAR_GlobUInt8_44 != 1 ) && ( ( VAR_GlobUInt8_46 != 1 ) == 1 ) ) {                if ( VARL_GlobBool_404 != 1 ) {                    RunScript( 2, 8, 31 )                }            } else {                set VARL_GlobBool_404 = 1            }            if ( ( VAR_GlobUInt8_44 != 2 ) && ( ( VAR_GlobUInt8_46 != 2 ) == 1 ) ) {                if ( VARL_GlobBool_406 != 1 ) {                    RunScript( 2, 13, 31 )                }            } else {                set VARL_GlobBool_406 = 1            }            if ( ( VAR_GlobUInt8_44 != 3 ) && ( ( VAR_GlobUInt8_46 != 3 ) == 1 ) ) {                if ( VARL_GlobBool_405 != 1 ) {                    RunScript( 2, 10, 31 )                }            } else {                set VARL_GlobBool_405 = 1            }            if ( ( VAR_GlobUInt8_44 != 4 ) && ( ( VAR_GlobUInt8_46 != 4 ) == 1 ) ) {                if ( VARL_GlobBool_403 != 1 ) {                    RunScript( 2, 11, 31 )                }            } else {                set VARL_GlobBool_403 = 1            }            if ( ( VAR_GlobUInt8_44 != 5 ) && ( ( VAR_GlobUInt8_46 != 5 ) == 1 ) ) {                if ( VARL_GlobBool_402 != 1 ) {                    RunScript( 2, 12, 31 )                }            } else {                set VARL_GlobBool_402 = 1            }            if ( ( VAR_GlobUInt8_44 != 6 ) && ( ( VAR_GlobUInt8_46 != 6 ) == 1 ) ) {                if ( VARL_GlobBool_401 != 1 ) {                    RunScript( 2, 1, 31 )                }            } else {                set VARL_GlobBool_401 = 1            }            if ( ( VAR_GlobUInt8_44 != 7 ) && ( ( VAR_GlobUInt8_46 != 7 ) == 1 ) ) {                if ( VARL_GlobBool_400 != 1 ) {                    RunScript( 2, 9, 31 )                }            } else {                set VARL_GlobBool_400 = 1            }            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            set VAR_GlobUInt8_41 = 0            Wait( 1 )            set VAR_GlobUInt8_24 = VAR_GlobUInt8_42            set VAR_GlobUInt8_25 = VAR_GlobUInt8_49            RunScriptAsync( 6, 7, 24 )            RunScriptAsync( 6, 8, 24 )            RunScriptAsync( 6, 10, 24 )            RunScriptAsync( 6, 1, 24 )            RunScriptAsync( 6, 12, 24 )            RunScriptAsync( 6, 9, 24 )            RunScriptAsync( 6, 13, 24 )            RunScriptAsync( 6, 11, 24 )            RunScriptAsync( 6, 5, 14 )            while ( VAR_GlobUInt8_41 < 1 ) {                Wait( 1 )            }            RunScriptSync( 2, VAR_GlobUInt8_51, 28 )            RunScriptAsync( 6, 5, 15 )            while ( VAR_GlobUInt8_41 < 2 ) {                Wait( 1 )            }            RunScriptSync( 2, 254, 29 )            RunScriptSync( 2, 6, 30 )            while ( VAR_GlobUInt8_40 < 2 ) {                Wait( 1 )            }            Wait( 1 )            set VAR_GlobUInt8_40 = 0            Wait( 1 )        }    }    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 6, 24, VAR_GlobUInt8_17, 255, 255, 255 )    Wait( 25 )    RunScriptSync( 6, 5, 18 )    ReturnEntryFunctions( 7 )    ReturnEntryFunctions( 13 )    ReturnEntryFunctions( 10 )    ReturnEntryFunctions( 8 )    ReturnEntryFunctions( 11 )    ReturnEntryFunctions( 12 )    ReturnEntryFunctions( 1 )    ReturnEntryFunctions( 9 )    MoveCamera( 180, 240, 1, 8 )    Wait( 1 )    SetHP( 0, 9999 )    SetHP( 1, 9999 )    SetHP( 3, 9999 )    SetHP( 2, 9999 )    SetHP( 4, 9999 )    SetHP( 5, 9999 )    SetHP( 11, 9999 )    SetHP( 6, 9999 )    SetHP( 8, 9999 )    SetMP( 0, 999 )    SetMP( 1, 999 )    SetMP( 3, 999 )    SetMP( 2, 999 )    SetMP( 4, 999 )    SetMP( 5, 999 )    SetMP( 7, 999 )    SetMP( 6, 999 )    SetMP( 8, 999 )    CureStatus( 0, 127 )    CureStatus( 1, 127 )    CureStatus( 3, 127 )    CureStatus( 2, 127 )    CureStatus( 4, 127 )    CureStatus( 5, 127 )    CureStatus( 7, 127 )    CureStatus( 6, 127 )    CureStatus( 8, 127 )    Menu( 0, 0 )    Wait( 3 )    if ( VAR_GlobUInt8_17 == 255 ) {        set Op66(( GetData_12 - 160 ), ( GetData_13 - 112 ))    }    0xA9( 250 )    FadeFilter( 7, 16, VAR_GlobUInt8_17, 0, 0, 0 )    Wait( 2 )    RunScript( 2, 251, 32 )    RunScript( 2, 252, 32 )    RunScript( 2, 253, 32 )    RunScript( 2, 254, 32 )    while ( VAR_GlobUInt8_40 < 4 ) {        Wait( 1 )    }    RunSoundCode( 2566, 2 )    MoveCamera( 180, 120, 120, 8 )    Wait( 120 )    RunSoundCode2( 38401, 65535, 48, 0 )    RunSoundCode3( 54145, 2100, 0, 24, 0 )    if ( VAR_GlobBool_167 == 1 ) {        RunSoundCode( 265, 65535 )        set VAR_GlobBool_167 = 0    }    if ( VAR_GlobBool_162 == 0 ) {        if ( VAR_GenUInt8_13 < 9 ) {            set VAR_GenUInt8_13 = 3        }        RunSoundCode1( 20864, 2100, 0 )    }    if ( VAR_GlobBool_163 == 0 ) {    }    set General_FieldEntrance = 0    Battle( 1, 938 )    if ( VAR_GlobBool_167 == 1 ) {        RunSoundCode( 265, 65535 )        set VAR_GlobBool_167 = 0    }    if ( VAR_GlobBool_162 == 0 ) {        if ( VAR_GenUInt8_13 < 9 ) {            set VAR_GenUInt8_13 = 3        }        RunSoundCode1( 20864, 2100, 0 )    }    if ( VAR_GlobBool_163 == 0 ) {    }    set General_FieldEntrance = 0    Field( 2929 )    return
 
Status
Not open for further replies.
Back
Top