• 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.

Fire Red Give certain pokemon depending on your starter

  • 16
    Posts
    6
    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.
     
  • 993
    Posts
    4
    Years

    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