The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Script erro, fresh water following me everywhere

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 2nd, 2017 (4:42 AM).
Captain Ak's Avatar
Captain Ak Captain Ak is offline
 
Join Date: Mar 2017
Posts: 1
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:Sim, 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:Sim, 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!
Attached Images
File Type: jpg erro.jpg‎ (19.7 KB, 7 views) (Save to Dropbox)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 2nd, 2017 (9:07 AM).
Marin's Avatar
Marin Marin is offline
 
Join Date: Nov 2016
Age: 20
Gender: Male
Posts: 969
Quote:
Originally Posted by Captain Ak View Post
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:Sim, 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:Sim, 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!
This indeed isn't on the right part of the forums, as it's under Custom Game Development. It's supposed to go somewhere in a ROM-Hacking related forum, but since there are I believe three of those, I dare not link you to any of them. I'm sure you can figure that our yourself, though.
__________________
My main project: RPG Studio MK
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:17 AM.