• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Fire Red Give certain pokemon depending on your starter

  • 16
    Posts
    7
    Years
    • Seen May 7, 2022
    Hello, all. I've compiled the script in XSE, but its saying no dynamic on line 30. Not sure what I'm doing wrong. I want a certain pokemon to be given depending on what starter I choose. I got it to work at one point, but it didn't say "player received a...". Any ideas? Here is the script (the flags and such are fine)



    #dynamic 0x80A8C0

    #org @start
    lock
    faceplayer
    msgbox @talk1 0x6
    compare 0x4031 0x0
    if 0x1 goto @bulbasaur
    compare 0x4031 0x1
    if 0x1 goto @squirtle
    compare 0x4031 0x2
    if 0x1 goto @charmander

    #org @bulbasaur
    msgbox @bulba 0x6
    givepokemon 0x36 0xF 0x44 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @talk2 0x6
    waitfanfare
    closeonkeypress
    fadescreen 0x1
    hidesprite 0xD
    fadescreen 0x0
    clearflag 0x1263
    release
    end

    #org @squirtle
    msgbox @squirt 0x6
    givepokemon 0x3F 0xF 0x44 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @talk2 0x6
    waitfanfare
    closeonkeypress
    fadescreen 0x1
    hidesprite 0xD
    fadescreen 0x0
    clearflag 0x1263
    release
    end

    #org @charmander
    msgbox @charm 0x6
    givepokemon 0x42 0xF 0xCF 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @talk2 0x6
    waitfanfare
    closeonkeypress
    fadescreen 0x1
    hidesprite 0xD
    fadescreen 0x0
    clearflag 0x1263
    release
    end

    #org @talk1
    = Great job dealing with BILL!\nWe'll take it from here.\pHere's a token of TEAM ROCKET's\nappreciation.

    #org @bulba
    = [black_fr][player] received an PSYDUCK!

    #org @squit
    = [black_fr][player] received an ABRA!

    #org @charm
    = [black_fr][player] received an MACHOP!

    #org @talk2
    = Now then. \pHead to the S.S. ANNE.\nWe've got some business with the\lCAPTAIN.\pBut we need you to distract him\nfirst.
     

    Though there are a lot more easy ways to set this script out, your way seems to work to; so I went with that. It should work now:
    Spoiler:
     
    Back
    Top