Hi guys, thats my first post, im sorry if i posted it on the wrong place.
im comming back to scripting and rom hacking and im having a strang problem with a script in particular.
thats it:
"#org $batatadoce
look
faceplayer
checkflag 0x600
if 1 goto $juha
applymovement 0xFF $frente
$frente 1 ; #Binary 0x9 0x9 0x9 0x9 0x9 0xFE
pausemove 0
message $olaaa
$olaaa 1 = Prof:Interessante\nesse meteoro possui\luma grande energia.\pNunca vi algo assim!
boxset 6
message $ola2
$ola2 1 = \v\h01 :Professora!\nDescobriram algo\lsobre o meteoro?
boxset 6
message $ola3
$ola3 1 = ???:Atençao!
boxset 6
playsound 0x0112
nop
nop
applymovement 0xFF $baixos
applymovement 4 $baixos
applymovement 8 $baixos
$baixos 1 ; #Binary 0x0 0x62 0xFE
pausemove 0
applymovement 11 $baixo
applymovement 12 $baixo
$baixo 1 ; #Binary 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0D 0x0D 0x0D 0x0D 0xFE
pausemove 0
applymovement 10 $baixss
$baixss 1 ; #Binary 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0X12 0x11 0xFE
pausemove 0
message $olas3
$olas3 1 = ???:Viemos confiscar\nesse meteorito\lem nome da\pcoorporaçao cosmos!
boxset 6
message $olay
$olay 1 = Prof:cooporaçAo cosmos?\nPai:O que querem\lcom essa pedra?
boxset 6
message $olf
$olf 1 = Soldado: a cooporaçao\nestuda as estrelas\lprecisamos deste\pobjeto !
boxset 6
message $ofla
$ofla 1 = Soldado: Voces irao\nnos entregar\lpor bem ou por mal.
boxset 6
Call $luta
message $olagh
$olagh 1 = Soldado:Arght\nNos voltaremos!\lvoces irao pagar!
boxset 6
applymovement 11 $baixh
applymovement 12 $baixh
$baixh 1 ; #Binary 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x60 0xFE
pausemove 0
applymovement 10 $bad
$bad 1 ; #Binary 0x4 0x3 0x10 0x10 0x13 0x10 0x10 0x10 0x10 0x60 0xFE
pausemove 0
applymovement 8 $baixe
$baixe 1 ; #Binary 0x10 0x23 0x2 0xFE
pausemove 0
message $olaw
$olaw 1 = Pai: Lutou muito bem\nVoce tem talento.\lAqui, um presente.\pRecebeu tenis de corrida!
boxset 6
setflag 0x82F
message $oldd
$oldd 1 = Prof:Tambem tenho\nalgo pra voce.\lRecebeu a pokedex!\pRecebeu 5 pokebolas!
boxset 6
giveitem 0x004 0x5
applymovement 0xFF $bawi
$bawi 1 ; #Binary 0x1 0xFE
pausemove 0
applymovement 0xFF $baixhd
$baixhd 1 ; #Binary 0x01 0xFE
pausemove 0
message $olr
$olr 1 = \v\h01: Obrigado\ntodos estao bem?\lProf

im, obrigada pela\pajuda.
boxset 6
message $olgr
$olgr 1 = Prof:Mas precisamos\nfazer algo sobre\lessa tal\p''coorporaçao cosmos''
boxset 6
message $olsg
$olsg 1 = Pai

im, precisamos\nirei alertar a policia\lagora mesmo.\pTenham cuidado.
boxset 6
applymovement 8 $ba1d
$ba1d 1 ; #Binary 0x10 0x10 0x10 0x10 0x10 0x60 0xFE
pausemove 0
setflag 0x600
setflag 0x829
setflag 0x16F
release
end
#org $luta
trainerbattle 3 0x093 $PERDEU $DERROTADO $further
#org $further
release
return
#org $PERDEU
$PERDEU 1 = Soldado: Ora seu ...
#org $DERROTADO
$DERROTADO 1 = Arght!
#org $juha
release
end''
Its working perfectly but when its actived, its summons a chatbox with a fresh water, like a vending machine! LOL [ image ]
I tried everyting to take it off but the box still appearing!
why is this happening?
another question: im using the green script icon on amap and i want to active the event when the player enter. The values are: 0003 on unknown and 4051 on num var, arent it?
Thanks!