haha yes, I think you're right. I was just throwing out a 4 digit number out there. I start my flags at 0x1200.
Okay, thanks. ^^
Gah, problem again. xD Okay, this Gym-script is all messed up. The leader doesn't say anything, and I don't get the badge, just the TM...
#dynamic 0x805799
#org @start
lock
faceplayer
checkflag 0x820
if 0x1 goto @done
trainerbattle 0x1 0x00B 0x0 @before @after @later
end
#org @before
= Welcome to BALEMORE CITY GYM!\nMy name is MAXI, and I am a \nNormal type leader!\nYou want to challenge me?
#org @after
= What!?
#org @later
msgbox @3 0x6
fanfare 0x13E
msgbox @4 0x4
waitfanfare
closeonkeypress
msgbox @5 0x6
giveitem 0x131 0x1 0x0
setflag 0x820
release
end
#org @done
msgbox @1 0x6
release
end
#org @1
= You should travel to CELINIA CITY\nto get your next badge.
#org @3
= Congratulations!\pFor beating me, you get\nthis badge!
#org @4
= \v\h01 recieved a badge!
#org @5
= Oh, and please take this.
And another problem...This Rocket grunt is meant to say ''Hey, kids are not allowed here'' if you haven't got the first badge, but he don't say anything, and if you have the badge, he's messed up too...:
#dynamic 0x80566A
#org @start
lock
faceplayer
checkflag 0x820
if 0x0 goto @end
if 0x1 goto @done
release
end
#org @done
trainerbattle 0x1 0x15F 0x0 @1 @2 @after
end
#org @after
msgbox @4 0x6
applymovement 0x1 @move
waitmovement 0x0
setflag 0x0661
end
#org @1
= Hey, what are you\ndoing here kid?\nWe're doing private\nTEAM ROCKET stuff...so scram!\nHuh? What, you want to battle? Okay!
#org @2
= You little...!
#org @end
msgbox @3 0x6
release
end
#org @3
= Hey, kids are not allowed here!
#org @4
= Argh! Well, you can't\nstop our evil plan, though!
#org @move
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE