- 16
- Posts
- 5
- Years
- Seen May 1, 2021
Could somebody check over my script and let me know all the errors? I'm new to scripting and to give a Pokémon after this battle, but I keep getting errors. Thanks.
Code:
'---------------
#org 0x163ACB
trainerbattle 0x0 0x255 0x0 0x817AC55 0x817AC82
msgbox 0x817ACA2 MSG_NORMAL '"When lava at the surface of magma\..."
end
'---------
' Strings
'---------
#org 0x17AC55
= Hi! I'm Brendan!
#org 0x17AC82
= Atchah!\nYou're shockingly good!
#dynamic 0x800554
#org 0x17ACA2
= You're great!\nHere, take this!
checkflag 0x1200
if 0x1200 goto @done
if 0x1 goto @givepokemon
#org @done
msgbox @checkup 0x6
release
end
#org @givepokemon
givepokemon 0x196 0x4B 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @recieved 0x6
waitfanfare
setflag 0x1200
msgbox @thanks2 0x6
release
#org @recieved
= \v\h01 recieved a RAYQUAZA!
#org @thanks2
= Great! I think it will have\nmore fun with you than with me.
#org @checkup
= How's Rayquaza doing?