+ Reply to Thread
Results 1 to 6 of 6

Thread: Need help with a small Script in Mt.Coronet

  1. #1
    Member Scarface's Avatar
    Join Date
    Jun 2009
    Location
    Australia
    Age
    20
    Posts
    136

    Need help with a small Script in Mt.Coronet

    Hello im here to post this because i am having some difficulties with editing scripts using PPRE on Pokemon Platinum what i am trying to do is edit the palkia/dialga script so that i can rebattle them again because i have lost them both and i really dont want to start a new game here i will post the script to see if anyone that has experience can help thankyou all that will try to help


    Thanks



    ===scr_1
    Goto func_0
    End

    ===scr_0
    PlaySound 0x5dc
    Lockall
    If 0x40c5 0x1
    COMPARELASTRESULT 0x4 func_1
    Checkflag 0xd1
    COMPARELASTRESULT 0x1 func_1
    Message 0x0
    Yesnobox 0x800c
    If 0x800c 0x1
    COMPARELASTRESULT 0x1 func_2
    Cryfr 0x1e4 0x0
    Message 0x1
    Waitcry
    Closemsgonkeypress
    Wildbattle2 0x1e4 0x46 0xec 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT 0x1 func_3
    Setvar 0x40c5 0x1
    CheckWildBattle2 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT1 0x1 func_4
    Releaseall
    End

    ==func_0
    0166 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    022D 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkitem 0x1c7 0x1 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    028B 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkflag 0x11e
    COMPARELASTRESULT 0x1 func_5
    Setvar 0x4118 0x1
    Jump func_5

    ==func_5
    Killscript

    ==func_3
    LostGoPc
    Releaseall
    End

    ==func_4
    Clearflag 0xd1
    Killscript

    ==func_1
    Message 0x2
    Waitbutton
    Jump func_2

    ==func_2
    Closemsgonkeypress
    Releaseall
    End

  2. #2
    DPPtHGSSBW Researcher ROM ResearcherIRC OwnerAdministrator Alpha's Avatar
    Join Date
    May 2009
    Location
    getenv("SERVER_NAME");
    Posts
    172

    Re: Need help with a small Script in Mt.Coronet

    This is my map replacements for PPRE b07 at map 584:

    Spoiler


    ===scr_1
    Goto func_0
    End

    ===scr_0
    PlaySound 0x5dc
    Lockall
    Message 0x0
    Yesnobox 0x800c
    If 0x800c 0x1
    COMPARELASTRESULT 0x1 func_2
    Cryfr 0x1e3 0x0
    Message 0x1
    Waitcry
    Closemsgonkeypress
    Wildbattle2 0x1e3 0x46 0xec 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT 0x1 func_3
    Setvar 0x40c4 0x1
    CheckWildBattle2 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT1 0x1 func_4
    Releaseall
    End

    ==func_0
    0166 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    022D 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkitem 0x1c7 0x1 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    028B 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkflag 0x11e
    COMPARELASTRESULT 0x1 func_5
    Setvar 0x4118 0x1
    Jump func_5

    ==func_5
    Killscript

    ==func_3
    LostGoPc
    Releaseall
    End

    ==func_4
    Clearflag 0xd0
    Killscript

    ==func_1
    Message 0x2
    Waitbutton
    Jump func_2

    ==func_2
    Closemsgonkeypress
    Releaseall
    End


    And this is map 585:
    Spoiler


    ===scr_1
    Goto func_0
    End

    ===scr_0
    PlaySound 0x5dc
    Lockall
    Message 0x0
    Yesnobox 0x800c
    If 0x800c 0x1
    COMPARELASTRESULT 0x1 func_2
    Cryfr 0x1e4 0x0
    Message 0x1
    Waitcry
    Closemsgonkeypress
    Wildbattle2 0x1e4 0x46 0xec 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT 0x1 func_3
    Setvar 0x40c5 0x1
    CheckWildBattle2 0x800c
    If 0x800c 0x0
    COMPARELASTRESULT1 0x1 func_4
    Releaseall
    End

    ==func_0
    0166 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    022D 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkitem 0x1c7 0x1 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    028B 0x2 0x4000
    If 0x4000 0x0
    COMPARELASTRESULT 0x1 func_5
    Checkflag 0x11e
    COMPARELASTRESULT 0x1 func_5
    Setvar 0x4118 0x1
    Jump func_5

    ==func_5
    Killscript

    ==func_3
    LostGoPc
    Releaseall
    End

    ==func_4
    Clearflag 0xd1
    Killscript

    ==func_1
    Message 0x2
    Waitbutton
    Jump func_2

    ==func_2
    Closemsgonkeypress
    Releaseall
    End



    Map 215:
    Spoiler



    ===scr_0
    Setvar 0x40a4 0x0
    Checkflag 0x132
    COMPARELASTRESULT 0x1 func_0
    Checkflag 0x132
    COMPARELASTRESULT 0x0 func_1
    End

    ===scr_1
    Setvar 0x40a4 0x0
    Goto func_2
    Checkflag 0x132
    COMPARELASTRESULT 0x1 func_0
    Checkflag 0x132
    COMPARELASTRESULT 0x0 func_1
    End

    ===scr_2
    Setvar 0x40a4 0x1
    Goto func_9
    End

    ===scr_3
    Setvar 0x40a4 0x1
    Goto func_10
    End

    ==func_0
    SetDoorPassable 0x2 0x7 0x5
    End

    ==func_1
    If 0x40aa 0x2
    COMPARELASTRESULT 0x4 func_3
    Jump func_4

    ==func_4
    SetDoorPassable 0x1 0x7 0x5
    End

    ==func_3
    Checkflag 0x145
    COMPARELASTRESULT 0x0 func_4
    Checkflag 0xd0
    COMPARELASTRESULT 0x1 func_5
    If 0x40c4 0x1
    COMPARELASTRESULT 0x4 func_5
    Checkitem 0x87 0x1 0x4001
    If 0x4001 0x1
    COMPARELASTRESULT 0x1 func_6
    032F 0x87 0x4001
    If 0x4001 0x1
    COMPARELASTRESULT 0x1 func_6
    Jump func_5

    ==func_5
    Checkflag 0xd1
    COMPARELASTRESULT 0x1 func_4
    If 0x40c5 0x1
    COMPARELASTRESULT 0x4 func_4
    Checkitem 0x88 0x1 0x4001
    If 0x4001 0x1
    COMPARELASTRESULT 0x1 func_8
    032F 0x88 0x4001
    If 0x4001 0x1
    COMPARELASTRESULT 0x1 func_8
    Jump func_4

    ==func_6
    SetDoorPassable 0x3 0x7 0x5
    End

    ==func_8
    SetDoorPassable 0x4 0x7 0x5
    End

    ==func_2
    SetDoorPassable 0x1 0x1 0x5
    SetDoorPassable 0x2 0x1 0x5
    SetDoorPassable 0x3 0x1 0x5
    SetDoorPassable 0x4 0x1 0x5
    Killscript

    ==func_7
    Killscript

    ==func_9
    Warp 0x248 0x0 0x1f 0x35 0x0
    End

    ==func_10
    Warp 0x249 0x0 0x1f 0x35 0x0
    End





    And lastly add these triggers in map 215 (requires PPRE b07)
    Spoiler

    Add triggers by going to Events -> Triggers and toggling the number box to 2
    Events -> Triggers -> 0
    Insert this data from top to bottom:
    3, 6, 6, 1, 1, 0, 0, 16548

    Events -> Triggers -> 1
    4, 8, 6, 1, 1, 0, 0, 16548



    Note: All three scripts and triggers need to be modified

    To use:
    Climb Mount Coronet. When you get to the door before you normally exit out onto the top. Take a left to battle Dialga and a right to battle Palkia.
    Last edited by Alpha; Jan 3rd, 2010 at 03:43 PM. Reason: Fixed

  3. #3

    Re: Need help with a small Script in Mt.Coronet

    can't you just uncheck their events on pokesav?

  4. #4
    Member Scarface's Avatar
    Join Date
    Jun 2009
    Location
    Australia
    Age
    20
    Posts
    136

    Re: Need help with a small Script in Mt.Coronet

    Thanks a lot Alpha works perfectly and DDD no u cant uncheck the events because Mt.coronet has been created 5 times for example you go and trigger the event for giratina wen u re-enter that place it will be a diffirent mt coronet map if it was the same it would trigger the giratina event over again and its exacly the same with Palkia/Dialga thats why you have to leave once you capture 1 and re-enter to get the other

  5. #5

    Re: Need help with a small Script in Mt.Coronet

    oh i see, well I'm not so familiar with Platinum since I haven't play it. Sorry for my wrong comment

  6. #6
    Member Scarface's Avatar
    Join Date
    Jun 2009
    Location
    Australia
    Age
    20
    Posts
    136

    Re: Need help with a small Script in Mt.Coronet

    Well thats fine you didnt know so no need to apolagize

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
PPN Top 50