Author Topic: [PSX/PC] General editor - Hades Workshop (0.50b)  (Read 845076 times)

Incinerator

  • Guest
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1275 on: 2018-06-15 00:19:06 »
hey Tirlititi when modding field scripts where do they save on pc? in csharp or one of the data files?

StreamingAssets\ folder
p0data7.bin

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1276 on: 2018-06-15 08:38:39 »
@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.

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1277 on: 2018-06-18 09:16:39 »
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


Spoiler: show





Code full of Main Loop


Code: [Select]
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 Edit: 2018-06-18 09:26:36 by ToraCarol »

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1278 on: 2018-06-18 09:26:54 »
Part 2

Code: [Select]
   } 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
            }

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1279 on: 2018-06-18 09:28:42 »
Part 3

Code: [Select]
            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 )
            }
   

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1280 on: 2018-06-18 09:29:28 »
Part 4

Code: [Select]
         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

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1281 on: 2018-06-22 10:23:51 »
Guys, again, I solved! Sorry for all the posts... but the script was too long. Please feel free to remove the other parts of the script, if you wish!

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1282 on: 2018-06-25 08:49:54 »
Little problem, not so big..maybe you can help me, so in The Temple of Water I found a little problem. So.... I have a code like this for the Party Reserve

Code: [Select]

                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 )
                break
            }
        }
        if ( 0 ) {
            set Setting_OptionalQuina = 0
        }
        set Setting_PartyReserve = 1083
        SetPartyReserve( Setting_PartyReserve )
        if ( ( ( Setting_PartyInitialized >> 0 ) & 1 ) == 0 ) {
            SetCharacterData( 0, 1, 255, 9, 0 )
            set Setting_PartyInitialized |= 1
        }
        if ( ( ( Setting_PartyInitialized >> 1 ) & 1 ) == 0 ) {
            SetCharacterData( 1, 1, 255, 5, 1 )
            set Setting_PartyInitialized |= 2
        }
        if ( ( ( Setting_PartyInitialized >> 2 ) & 1 ) == 0 ) {
            SetCharacterData( 2, 1, 255, 6, 2 )
            set Setting_PartyInitialized |= 4
        }
        if ( ( ( Setting_PartyInitialized >> 3 ) & 1 ) == 0 ) {
            SetCharacterData( 3, 1, 255, 5, 3 )
            set Setting_PartyInitialized |= 8
        }
        if ( ( ( Setting_PartyInitialized >> 4 ) & 1 ) == 0 ) {
            SetCharacterData( 4, 1, 255, 6, 4 )
            set Setting_PartyInitialized |= 16
        }
        if ( ( ( Setting_PartyInitialized >> 5 ) & 1 ) == 0 ) {
            SetCharacterData( 5, 1, 255, 5, 5 )
            set Setting_PartyInitialized |= 32
               }
        if ( ( ( Setting_PartyInitialized >> 6 ) & 1 ) == 0 ) {
            SetCharacterData( 6, 1, 255, 6, 6 )
            set Setting_PartyInitialized |= 64

        }
        if ( ( ( Setting_PartyInitialized >> 7 ) & 1 ) == 0 ) {
            SetCharacterData( 7, 0, 255, 5, 7 )
            set Setting_PartyInitialized |= 128
        }
        SetName( 11, 30 )
        SetCharacterData( 11, 1, 10, 21, 12 )
        SetPartyReserve( 1083 )
        set Setting_OptionalQuina = 1
        set Setting_DaggerDepresses = 0
        set Setting_MPx4 = 0
        if ( 1 ) {
            Party( 4, 1 )
            UpdatePartyUI(  )
        } else {
            Party( 0, 1 )
            UpdatePartyUI(  )
        }
        if ( IsInParty(5) ) {
            set Setting_OptionalQuina = 1
        }

You know why Eiko persist to be in the team?
I'm trying to find a solution by myself, but if somebody of you can help me before I'll be so glad ;D

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1283 on: 2018-06-25 10:19:27 »
With this code, you should be able to choose the party members yourself. You mean that she's still available in the menu while she shouldn't?
In that case, it's most likely because she's already in the party at that point and you need to remove her before the "Party" call:
Code: [Select]
if (IsInParty(6)) {
    RemoveParty(6)
}

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1284 on: 2018-06-25 11:53:54 »
Thank you for the reply, but unfortunately nothing happens.. I've also tried to uncheck the other numbers in "SetPartyReserve" to see where is the problem and, the problem still be that everyone should be removed.. except Eiko? It's kinda strange  ???

UPDATE: Ok, I guess I found the problem..!! :)
« Last Edit: 2018-06-25 12:20:34 by ToraCarol »

brucy

  • *
  • Posts: 39
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1285 on: 2018-06-26 22:29:35 »
@Trilititi i set a supporting spell in order to immediately switch to trance mode , and i need to know how to make sure that trance mode have an infinite duration, so , what part of the CIL i have to modify in order to have unlimited trance mode ? for now the only thing that i can imagine is that the limitation of trance mode may be based on the turns ( like : one turn , and the time for trance mode decrease ) , or maybe the time restriction is based on the commands you use ( like: you use "attack" , and something in the game tell that the attack command , or whatever command, must subtract a little of the trance bar ) , and once we find the solution for this , i need help to modify a supporting spell in order to use it to switch between trance mode and normal mode , even in this case , the only thing i can imagine is that is necessary to modify something in the CIL code section

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1286 on: 2018-06-27 22:01:26 »
So, yes, it is about CIL code, but editing the CIL code through HW is very tedious and limited.
It's better to edit the C# code using the tool dnSpy.

In any case, the trance gauge goes down in the method "btl_cmd::FinishCommand" (the class is "btl_cmd" and the method is "FinishCommand").
You have this block in this method:
Code: [Select]
if (Status.checkCurStat(regist, 16384u) && cur_cmd.cmd_no != 3 && cur_cmd.cmd_no != 12) // The status "16384" is trance ; The commands 3 and 12 are "Jump"
{
byte b = (byte)((300 - (int)regist.level) / (int)regist.elem.wpr * 10); // That's the amount by which the trance is depleted
if (cur_cmd.cmd_no == 21 || cur_cmd.cmd_no == 23)
{
b /= 2; // For Double-Casts, it's halfed
}
if (FF9StateSystem.Settings.IsTranceFull)
{
b = 0; // Cheat mode
}
if (regist.trance > b)
{
BTL_DATA expr_1B0 = regist;
expr_1B0.trance -= b;
}
else if (!FF9StateSystem.Battle.isDebug)
{
btl_stat.RemoveStatus(regist, 16384u);
}
if (cur_cmd.cmd_no == 18 && btlsys.phantom_no != 0) // This registers the command for Dagger's Eidolon: it will recast the spell afterwards
{
btlsys.cmd_status |= 4;
btlsys.phantom_cnt = btl_cmd.setPhantomCount(regist);
}
}
I didn't really understand what you wanted to do, but there's a high probability that it's there.

brucy

  • *
  • Posts: 39
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1287 on: 2018-06-27 22:39:36 »
@Trilititi don't worry i will explain better , the objectives are : have one spell that allow to switch to trance and normal mode , and make sure that trance mode have an infinite duration , now , i already  a support spell that allow me to switch to trance mode , but i still have to modify that spell so it can reverse immediately to normal mode  , and still i have to give and infinite duration to  trance mode , in this way , we will be able to enjoy the trance mode without anything that can piss us of , about the method you suggested to mod this function , i am not an hacker so is better if i use hades workshop , it may be limited , but still is surely more user friendly than any other program , in any case , i am sure that the problem is my bad english that didn't allowed you to understand me lol , infact , you yourself created the marco mod in hades workshop that allow to disable the cheats , and one of those cheats are used to have an infinite trance bar :D , but i really don't understand anything of the piece of cil code that you showed me , can you explain me what i must write in order to obtain unlimited trance meter ?
« Last Edit: 2018-06-27 23:11:57 by brucy »

brucy

  • *
  • Posts: 39
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1288 on: 2018-06-29 05:44:28 »
i really need those explanations, that suggestion isn't enough for a non-hacker ahah

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1289 on: 2018-06-29 08:10:24 »
@Tirlititi

Still no options to resize the UI menu for battles without using Memoria?

UPDATE:

I also tried to change font with DnSpy... but it gives me the following error, may I did something wrong?



Last UPDATE:

Is there a way to cut the tutorial before the very first battle and the "Warning security" stuff before the Squaresoft logo? And where can I find the Texture2D of the Launcher?
« Last Edit: 2018-06-29 13:36:18 by ToraCarol »

Incinerator

  • Guest
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1290 on: 2018-06-29 16:53:02 »


Still no options to resize the UI menu for battles without using Memoria?

Wasn’t till now:
Here

for your case, use this as your Csharp base.


I also tried to change font with DnSpy... but it gives me the following error, may I did something wrong?

[img width=640 height=305]https://i.imgur.com/0tLMM2n.jpg[/

Last UPDATE:

Is there a way to cut the tutorial before the very first battle and the "Warning security" stuff before the Squaresoft logo? And where can I find the Texture2D of the Launcher?

I used to get that error a lot. Delete that mscorlib.dll (right panel) and recompile.

There isn’t a texture for the Launcher in any of the archives. That requires a different approach to change. Fact is, you can actually use the launcher from Memoria change the image launcher and use that compatible throughout. I use the launcher from Memoria to change the image. Changing the launcher image in Memoria wont affect your CSharp either.
« Last Edit: 2018-06-29 17:43:29 by Incinerator »

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1291 on: 2018-06-29 17:51:42 »

I used to get that error a lot. Delete that mscorlib.dll (right panel) and recompile.

There isn’t a texture for the Launcher in any of the archives. That requires a different approach to change. Fact is, you can actually use the launcher from Memoria change the image launcher and use that compatible throughout. I use the launcher from Memoria to change the image. Changing the launcher image in Memoria wont affect your CSharp either.

Omg, thank you dude! Everything is perfect! ;D

Quote
Wasn’t till now:
Here

for your case, use this as your Csharp base.

Thank you, but I was thinking about something more like the PS1 version, something like this https://steamcommunity.com/groups/ff-modding/discussions/13/1290690926876650747/
The problem is that I don't know it I can apply it without mess everything (plus there's the problem about the link you sent me that if I copy and paste the AssemblyCSharp I will replace mine with all the work I made , right? )
« Last Edit: 2018-06-29 17:55:52 by ToraCarol »

Incinerator

  • Guest
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1292 on: 2018-06-29 18:30:38 »
Omg, thank you dude! Everything is perfect! ;D

Thank you, but I was thinking about something more like the PS1 version, something like this https://steamcommunity.com/groups/ff-modding/discussions/13/1290690926876650747/
The problem is that I don't know it I can apply it without mess everything (plus there's the problem about the link you sent me that if I copy and paste the AssemblyCSharp I will replace mine with all the work I made , right? )

Nope, not that one linked it be screwed.

2 things.
1. Use this CSharp as a base, and reapply your .hws mod.

2. Inspect CSharp from archive in dnapy, grab the code and apply to your already outputted hws mod. CSharp.
If all fails, rough it.

brucy

  • *
  • Posts: 39
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1293 on: 2018-06-29 20:52:10 »
@Tirlititi please tell me how to block that function :O

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1294 on: 2018-06-29 23:17:45 »
@ToraCarol: I'm still not doing anything with the UI but I'll come to it soon. I also want to give the possibility to get something similar to the PSX UI.

@Brucy: Ok, so the most simple is to use the "trance" effect like you do but tweak it a little to make it un-trance if the trance is already on.
In any case, using dnSpy is the best way to edit "CIL Code". Also, since you need to change the method "btl_calc::CalcMain", it is impossible to do with HW anyway.
1) Install and open dnSpy,
2) Close the mscorlib, System and System.Core to avoid the same problem as ToraCarol,
3) Open FF9's "Assembly-CSharp.dll" with dnSpy: you can now browse in the source code of the game and search for a specific class,
4) Search for the class "btl_cmd" (it is in the root folder, marked by {} - ),
5) Scroll down to the method "FinishCommand", right-click on it and "Edit the C# method",
6) Replace the line "if (FF9StateSystem.Settings.IsTranceFull)" by "if (true)" and compile: with this, the trance will not decrease,
7) Now search for the class "btl_calc" and its method "CalcMain" and "Edit the C# method" as before,
8‌) You should see a lot of "case" lines, scroll down to the "case 96" ; it should look like this by default:
Code: [Select]
case 96:
target.trance = byte.MaxValue;
btl_stat.AlterStatus(target, 16384u);
break;
9) Replace that case by this:
Code: [Select]
case 96:
if (Status.checkCurStat(target, 16384u)) {
target.trance = 0;
btl_stat.RemoveStatus(target, 16384u);
} else {
target.trance = byte.MaxValue;
btl_stat.AlterStatus(target, 16384u);
}
break;
11) Compile. Apparently, dnSpy whines about implicit type-casting... So it will be a bit tedious, but for all the errors you get (double-click to go to the related line), add a type cast like this for example:
Code: [Select]
Default: target.elem.str = target.elem.str * 3 / 4;
Replace with: target.elem.str = (byte)(target.elem.str * 3 / 4);
I've put "byte" in the parenthesis for this one because the error says "Cannot convert to 'byte'". You need to write "short" instead when the error is about converting to short. After each line replaced, you can press "Compile" to verify that the error line disappears.
12) "File -> Save the module" and you're done!

This is not what I would call easy, but that's how it has to be done ^^'
Good luck.
« Last Edit: 2018-06-29 23:19:18 by Tirlititi »

brucy

  • *
  • Posts: 39
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1295 on: 2018-06-30 00:51:00 »
@Trilititi ok thanks :D

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1296 on: 2018-06-30 04:55:10 »
Thank you both guys!!!!

ToraCarol

  • *
  • Posts: 120
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1297 on: 2018-07-02 15:15:16 »
Guys, you know why everytime now I try to replace the AssemblyCSharp the game won't start after the Intro-Logo? Which can be the problem?  :'(

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1298 on: 2018-07-02 17:02:45 »
How do you mod it? Is it HW that gives you a bugged CSharp? If so, did you mod the CSharp beforehand with dnSpy?

CrazynNova

  • *
  • Posts: 3
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1299 on: 2018-07-03 06:28:45 »
I'm sorry to sound like a noob but I'm getting this error message

Configuration file not found for this binary file.
The program will perform a scan in order to open it

I want to extract and view. perhaps modify the field scenes.