BananasGoMoo
Pokemon Electrum
- 149
- Posts
- 16
- Years
- California
- Seen Sep 4, 2021
haha, well I converted the code to XSE form, it compiled but I'm facing a new problem, the professor doesn't seem to give me a pokemon and the texts are broken off..
here's the new script:
Spoiler:#dynamic 0x800000
#org @start
checkflag 0x828
preparemsg @1
waitmsg
multichoice 0xE 0x0 0x1E 0x0
copyvar 0x8000 0x800D
compare 0x8000 0x0
if 0x1 goto @option1
compare 0x8000 0x1
if 0x1 goto @option2
compare 0x8000 0x2
if 0x1 goto @option3
compare 0x8000 0x3
if 0x1 goto @option4
compare 0x8000 0x4
if 0x1 goto @option5
compare 0x8000 0x5
if 0x1 goto @option6
compare 0x8000 0x7F
if 0x0 goto @2
end
______________________________
#org @option1
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take1
release
end
#org @take1
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @31 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @41 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @51 0x6
release
end
#org @name
call 0x1A74EB
return
#org @done
msgbox @6 0x6
release
end
#org @option2
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take2
release
end
#org @take2
givepokemon 0x158 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @32 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @42 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @52 0x6
release
end
#org @option3
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take3
release
end
#org @take3
givepokemon 0x277 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @33 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @43 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @53 0x6
release
end
#org @option4
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take4
release
end
#org @take4
givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @34 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @44 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @54 0x6
release
end
#org @option5
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take5
release
end
#org @take5
givepokemon 0x236 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @35 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @45 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @55 0x6
release
end
#org @option6
if 0x1 goto @done
msgbox @char 0x5
compare LASTRESULT 0x1
if 0x1 goto @take6
msgbox @2 0x6
release
end
#org @take6
givepokemon 0x392 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @36 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @46 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @56 0x6
release
end
#org @1
@1 1 =Ah [playername]!\nI almost forgot you\lwere on your way to\n\c\h01\h06
LaRouuse Academy!\lI better make this quick,\pso which pokemon would you\llike to team up with?
#org @char
@char 1 =Are you sure?\lPick wisely..
#org @2
@2 1 =Didn't mean to rush you.\nThere's lots to choose from!
#org @31
@31 1 =\c\h01\h02You received a CHARMANDER!
#org @41
@41 1 =\c\h01\h02Would you like to rename CHARMANDER?
#org @51
@51 1 =Take Care of CHARMANDER.
#org @6
@6 1 =I can tell you and that Pokemon/lwill be best buds!
#org @32
@32 1 =\c\h01\h02You received a TOTODILE!
#org @42
@42 1 =\c\h01\h02Would you like to rename TOTODILE?
#org @52
@52 1 =Take Care of TOTODILE.
#org @33
@33 1 =\c\h01\h02You received a TREECKO!
#org @43
@43 1 =\c\h01\h02Would you like to rename TREECKO?
#org @53
@53 1 =Take Care of TREECKO.
#org @34
@34 1 =\c\h01\h02You received a EEVEE!
#org @44
@44 1 =\c\h01\h02Would you like to rename EEVEE?
#org @54
@54 1 =Take Care of EEVEE.
#org @35
@35 1 =\c\h01\h02You received a TYROUGE!
#org @45
@45 1 =\c\h01\h02Would you like to rename TYROUGE?
#org @55
@55 1 =Take Care of TYROUGE.
#org @36
@36 1 =\c\h01\h02You received a RALTS!
#org @46
@46 1 =\c\h01\h02Would you like to rename RALTS?
#org @56
@56 1 =Take Care of RALTS.
(note: I know 1e is the TM multichoice thing from Celadon, I'm planning to edit that)
firstly, did you insert it to an offset where there was enough free space? if not, then thats why your text is being cut off (maybe)
also, are you allowed to put a line in the middle there?
also, not sure what else is wrong, maybe someone who knows more than me can help better.