• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other✓] Script of MultiBox

57
Posts
9
Years
    • Seen Jul 11, 2014
    multichoice 0xF 0x6 0x17 0x0

    thats a Multi box command that I found in Light Platinum rom

    What does those codes all about?

    the
    0xF=
    0x6=
    0x17=
    and 0x0=

    thanks for your help ^_^
     
    10,078
    Posts
    15
    Years
    • UK
    • Seen Oct 17, 2023
    diegoisawesome said:
    xx: X co-ordinate
    yy: Y co-ordinate
    zz: Multi ID. Refer to Multi List
    aa: Determines if B can cancel. 0x0 means B can cancel.

    You'll find most of your answers to simply script problems and understanding here
     
    57
    Posts
    9
    Years
    • Seen Jul 11, 2014
    so you mean the X-is the 0xF
    Y-is the 0x6
    Multi ID-is the 0x17
    and the aa-is 0x0?

    or 0x6 is the X
    and 0x17 is the Y
     
    10,078
    Posts
    15
    Years
    • UK
    • Seen Oct 17, 2023
    multichoice 0xF 0x6 0x17 0x0
    multichoice 0xXX 0xYY 0xZZ 0xAA

    for comparison ^ it's all outlined in the tutorial.
     
    57
    Posts
    9
    Years
    • Seen Jul 11, 2014
    I found nothing there haha

    I have succesfully manage to do the multichoice but it seams like a Faulty script appeared, instead of the word FENNEKIN appeared in the box, SLATEPORT CITY appeared, heres my script.

    #dynamic 0x740000

    #org @start
    msgbox @Give
    callstd 0x6
    multichoice 0x12 0x6 0x38 0x2
    copyvar 0x8000 LASTRESULT
    compare 0x8000 0x0
    if == jump @Fennekin
    compare 0x8000 0x1
    if == jump @Chespin
    compare 0x8000 0x2
    if == jump @Froakie
    release
    end

    #org @Fennekin
    msgbox @ask
    callstd MSG_YESNO
    compare LASTRESULT NO
    if == jump @wait
    addpokemon CHARMANDER 0x5 LEFTOVERS 0x0 0x0 0x0
    msgbox @get
    setflag RS_POKEMON
    disappear 0x4
    release
    end

    #org @Chespin
    msgbox @ask2
    callstd MSG_YESNO
    compare LASTRESULT NO
    if == jump @wait
    addpokemon BULBASAUR 0x5 LEFTOVERS 0x0 0x0 0x0
    msgbox @get2
    setflag RS_POKEMON
    disappear 0x4
    release
    end

    #org @Froakie
    msgbox @ask3
    callstd MSG_YESNO
    compare LASTRESULT NO
    if == jump @wait
    addpokemon SQUIRTLE 0x5 LEFTOVERS 0x0 0x0 0x0
    msgbox @get3
    setflag RS_POKEMON
    disappear 0x4
    release
    end

    #org @wait
    jump @start

    #org @okay
    = The Machine is Empty

    #org @Give
    = This MACHINE has 3 PKMN\nGet atleast 1!

    #org @ask
    = Would you like to\nchoose FENNEKIN?

    #org @ask2
    = Would you like to\nchoose CHESPIN?

    #org @ask3
    = Would you like to\nchoose FROAKIE?
     
    Last edited by a moderator:
    Back
    Top