The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Archive] Script help thread

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
Closed Thread
 
Thread Tools
  #176   Link to this post, but load the entire thread.  
Old January 9th, 2008 (1:03 PM). Edited January 13th, 2008 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
THE BADGER´S

1º 0x820
2º 0x821
3º 0x822
4º 0x823
5º 0x824
6º 0x825
7º 0x826
8º 0x827
  #177   Link to this post, but load the entire thread.  
Old January 9th, 2008 (1:34 PM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Posts: 1,855
THANK YOU SO MUCH !
Derlo now i can make gymleader script's in firered
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, S, M, US, UM)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Living Pokedex Complete: Y, C, R, LG, E, D, Pl, HG, B, B2, X, Y, OR, AS, M, UM, LGP, Sw, LA
Big thanks especially to DestinedJagold, Xerneas_X, Elements1, ~RNC~ and ThePoke Man

PM me if you want to trade, or add my FC.
  #178   Link to this post, but load the entire thread.  
Old January 9th, 2008 (5:08 PM).
Hellsing's Avatar
Hellsing Hellsing is offline
The bird of Hermes is my name
 
Join Date: Aug 2007
Location: Canada
Gender:
Nature: Rash
Posts: 121
What command do I need to make somebody check if you have a certain pokemon? like in the trade scripts or in a Bill's Grandpa script?
  #179   Link to this post, but load the entire thread.  
Old January 9th, 2008 (5:23 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
I don't know if checkpokemon 0x0 0x0 0x0 is a command, but it's worth a go.
Otherwise use selectpokemon, I think you use it as selectpokemon 0x?

For instance:

selectpokemon 0x5
if b_true goto $removepoke

And then add a removepokemon command..
(I'll have to search up a bit more)
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #180   Link to this post, but load the entire thread.  
Old January 9th, 2008 (8:30 PM).
Sythes's Avatar
Sythes Sythes is offline
 
Join Date: Aug 2007
Gender:
Posts: 7
Can someone help me with this script? Someone already tried but it didn't work. It's supposed to Give you Togepi, ask if you wish to name it, and add the pokedex/menu.

Spoiler:
#org $begin
lock
faceplayer
checkflag 0x200
if B_true goto $gotit
givepokemon 175 5 0
message $name
$name 1 = Would you like to name Togepi?
boxset 5
compare lastresult b_false
if B_true goto $done
namepokemon
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $done
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $gotit
release
end
  #181   Link to this post, but load the entire thread.  
Old January 9th, 2008 (9:35 PM).
Kurayamiblack's Avatar
Kurayamiblack Kurayamiblack is offline
 
Join Date: Dec 2007
Gender:
Posts: 26
Okay, I have two major script problems. (well, major as in, "my hack NEEDS it")

Before I post it, keep in mind I use Diamond Cutter because nothing else works for me =/ (also, I'm using Fire Red)

Okay, here's my script

Spoiler:

#org 0x900000
lock
faceplayer
trainerbattle 3 0x019
release
end

#org 0x900100
lock
faceplayer
trainerbattle 3 0x01A
release
end

#org 0x900200
lock
faceplayer
trainerbattle 3 0x057
release
end

#org 0x900300
lock
faceplayer
trainerbattle 3 0x058
release
end

#org 0x900400
lock
faceplayer
trainerbattle 3 0x01D
release
end

#org 0x900500
lock
faceplayer
trainerbattle 3 0x04E
release
end

I'm trying to make offsets which when given to a person will instantly go into a trainer battle. (not text box or anything, just jump into the fight)
Diamond Cutter won't apply this to the game and I assume it's the script because other scripts have been accepted. What's wrong with this script?


Now, my 2nd scripting question. The following is a script for an Elite 4 member I got directly off of PKSV

Spoiler:

#org 0x1625DC
'-----------------------------------
lock
faceplayer
setvar 0x8004 0x9
setvar 0x8005 0x2
special 0x174
checkflag 0x4B8
if 0x1 jump 0x8162669
setvar 0x8004 0x9
setvar 0x8005 0x0
special 0x173
setvar 0x8004 0x9
setvar 0x8005 0x1
special 0x173
checkflag 0x844
if 0x0 call 0x8162641
checkflag 0x844
if 0x1 call 0x816264A
setflag 0x3
setflag 0x5
checkflag 0x844
if 0x0 call 0x8162653
checkflag 0x844
if 0x1 call 0x816265E
clearflag 0x5
jump 0x8162673
#org 0x8162669
'-----------------------------------
msgbox 0x81781B0 ' You're better than I thought.\nGo on ahead.\pYou only got a t
aste of the\nPOKΘMON LEAGUE's power.
callstd MSG_NOCLOSE ' Non-closing msg
release
end
#org 0x8162641
'-----------------------------------
msgbox 0x8177FA4 ' Welcome to the POKΘMON LEAGUE.\pI am LORELEI of the ELITE FOU
R.\pNo one can best me when it comes\nto icy POKΘMON.\pFreezing moves are powerf
ul.\pYour POKΘMON will be at my mercy\nwhen they are frozen solid.\pHahaha!\nAre
you ready?\hFC\h0B\h56\h01
callstd MSG_NOCLOSE ' Non-closing msg
return
#org 0x816264A
'-----------------------------------
msgbox 0x8178089 ' Welcome to the POKΘMON LEAGUE.\pI, LORELEI of the ELITE FOUR,
\nhave returned!\pYou know how it goes.\nNo one can best me when it comes\lto ic
y POKΘMON.\pFreezing moves are powerful.\pYour POKΘMON will be at my mercy\nwhen
they are frozen solid.\pHahaha!\nAre you ready?\hFC\h0B\h56\h01
callstd MSG_NOCLOSE ' Non-closing msg
return
#org 0x8162653
'-----------------------------------
trainerbattle 0x3 0x19A 0x0 0x8178191 0xDF035C03
end
#org 0x816265E
'-----------------------------------
trainerbattle 0x3 0x2DF 0x0 0x8178191 0xB0000F03
#raw 0x81
#raw 0x17
jumpstd 0x9
#org 0x8162673
'-----------------------------------
setflag 0x4B8
call 0x81A7506
msgbox 0x81781B0 ' You're better than I thought.\nGo on ahead.\pYou only got a t
aste of the\nPOKΘMON LEAGUE's power.
callstd MSG_NOCLOSE ' Non-closing msg
release
end
#org 0x81A7506
'-----------------------------------
applymovement PLAYER 0x81A75FE ' raw_1C raw_1C end
pauseevent 0x0
CMD_2F 0x8 0x75380400
copyvarifnotzero 0x2508 0x8E
setflag 0x4
return
#org 0x81781B0
= You're better than I thought.\nGo on ahead.\pYou only got a taste of the\nPOKΘ
MON LEAGUE's power.
#org 0x8177FA4
= Welcome to the POKΘMON LEAGUE.\pI am LORELEI of the ELITE FOUR.\pNo one can be
st me when it comes\nto icy POKΘMON.\pFreezing moves are powerful.\pYour POKΘMON
will be at my mercy\nwhen they are frozen solid.\pHahaha!\nAre you ready?\hFC\h
0B\h56\h01
#org 0x8178089
= Welcome to the POKΘMON LEAGUE.\pI, LORELEI of the ELITE FOUR,\nhave returned!\
pYou know how it goes.\nNo one can best me when it comes\lto icy POKΘMON.\pFreez
ing moves are powerful.\pYour POKΘMON will be at my mercy\nwhen they are frozen
solid.\pHahaha!\nAre you ready?\hFC\h0B\h56\h01
#org 0x8178191
= [.]Things shouldn't be this way!
#org 0xDF035C03
= \h06 \h0E
#org 0x81A75FE
M raw_1C raw_1C end

I simply want to edit ONE value in the script, but I have no idea how to re-install this script after it's edited. Whenever I save this as a .rbc file, I get this message

Spoiler:

This file contains Unicode format which will be lost if you save this file as an ANSI encoded text file. To keep the Unicode information, Click Cancel below and then select one of the Encoding drop down list.


I do what it says but Diamond Cutter still refuses to apply it to the game.

Does this script need to be translated into a certain format? If so, what parts need to be changed into what?

*is a scripting n00b who read tutorials but still doesn't know about translation from one format to another*
  #182   Link to this post, but load the entire thread.  
Old January 9th, 2008 (11:07 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Rabid_Lime View Post
What command do I need to make somebody check if you have a certain pokemon? like in the trade scripts or in a Bill's Grandpa script?
Here...
Code:
setvar 0x4036 (pokemon number)
copyvar 0x8004 0x4036
special2 0x800D 0x17C
compare 0x800D 1
if 0x1 goto $poke
Here's an example of it.
Code:
#org $start
lock
faceplayer
message $1
boxset 0x5
compare 0x800D 0x1
if 0x1 goto $check
message $2
boxset 0x6
release
end

#org $check
setvar 0x4036 0x74
copyvar 0x8004 0x4036
special2 0x800D 0x17C
compare 0x800D 0x1
if 0x1 goto $havehorsea
message $2
boxset 6
release
end

#org $havehorsea
message $3
boxset 6
release
end

#org $1
$1 1 =Hi, do you have a HORSEA?\nCould I please see it?

#org $2
$2 1 =Owww. Thanks Anyway.

#org $3
$3 1 =Yay, a HORSEA!
Quote:
Originally Posted by Crashink View Post
I don't know if checkpokemon 0x0 0x0 0x0 is a command, but it's worth a go.
Otherwise use selectpokemon, I think you use it as selectpokemon 0x?

For instance:

selectpokemon 0x5
if b_true goto $removepoke

And then add a removepokemon command..
(I'll have to search up a bit more)
You've just made up those commands. As far as I know, they don't exist. The way to checkpokemon is listed above.
Selectpokemon is a special that brings you to the select Pokemon screen, where you can pick a pokemon from your party.
special 0x73, but I'm not 100% sure if that's the right number.
Not a command that selects if you have a pokemon.
__________________
Gone.
  #183   Link to this post, but load the entire thread.  
Old January 10th, 2008 (10:01 AM).
darthmunchlax92's Avatar
darthmunchlax92 darthmunchlax92 is offline
Dark Sider
 
Join Date: Jan 2008
Posts: 3
Hi everyone, and thanks in advance for any help. Okay... I'm trying to make a simple script (I'm not very good at using PokeScript), but I can't make it work! The screen just freezes on me. Thanks again...
Here's the script; sorry, this is only my second post and I haven't figured out how to do spoilers:

#org $StartWild
lock
faceplayer
cry 52
message $meowCry
$meowCry 1 = Meowth: Dat's right!
boxset 6
checkflag 0x807
if 0x1 goto $WildBatt
release
end
#org $Wildbatt
lock
wildbattle 52 20 0
release
setflag 0x500
fadescreen 0
end
__________________
Turn to the dark side, young Munchlax!
  #184   Link to this post, but load the entire thread.  
Old January 10th, 2008 (11:24 AM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
@ Sythes :

I'm very very bad at PokeScript (I'm a beginner).
Could it be that you forgot the 1 at message $name?

Spoiler:

#org $begin
lock
faceplayer
checkflag 0x200
if B_true goto $gotit
givepokemon 175 5 0
message $name 1 <---------------
$name 1 = Would you like to name Togepi?
boxset 5
compare lastresult b_false
if B_true goto $done
namepokemon
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $done
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $gotit
release
end

__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #185   Link to this post, but load the entire thread.  
Old January 10th, 2008 (12:16 PM).
pokenar's Avatar
pokenar pokenar is offline
Lunatic Red Eyes
 
Join Date: Jan 2008
Age: 28
Gender: Male
Nature: Naive
Posts: 46
ok i have a question im useing pokescript how do i make a legendary pokemon battle
  #186   Link to this post, but load the entire thread.  
Old January 10th, 2008 (9:31 PM). Edited January 12th, 2008 by Night_Blue.
Night_Blue Night_Blue is offline
STFU
 
Join Date: Sep 2007
Posts: 130
Spoiler:
#org $start
checkflag 0x205
if b_true goto $done
applymovement 0x02 $rival
pausemove 0
trainerbattle 1 0x21A $before $after $further
release
end

#org $further
setflag 0x205
message $talk
boxset 6
applymovement 0x02 $rival2
pausemove 0
release
end

#org $done
release
end

#org $rival
$move 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0xFE

#org $rival2
$move2 1 ; #binary 0x51 0x13 0x13 0x13 0x13 0x13 0x60 0xFE

#org $before
$before 1 =Are you ahead of me?\nNo,Ill beat you and reach the league before\nyou.

#org $after
$after 1 =...again

#org $talk
$talk 1 =I dont care if you win.\nI always have time to train my pokemon\pNext time,things are gonna be differnt.


dont know why but I tryed to put this script in advance map,it will only work if i put it on a person,not an S

i tryed differnt var numbers,it still doesnt work
  #187   Link to this post, but load the entire thread.  
Old January 10th, 2008 (9:44 PM).
Sythes's Avatar
Sythes Sythes is offline
 
Join Date: Aug 2007
Gender:
Posts: 7
Quote:
Originally Posted by Piplup-Trainer View Post
@ Sythes :

I'm very very bad at PokeScript (I'm a beginner).
Could it be that you forgot the 1 at message $name?

Spoiler:

#org $begin
lock
faceplayer
checkflag 0x200
if B_true goto $gotit
givepokemon 175 5 0
message $name 1 <---------------
$name 1 = Would you like to name Togepi?
boxset 5
compare lastresult b_false
if B_true goto $done
namepokemon
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $done
setflag 0x828
setflag 0x829
giveitem 0x4 3
setflag 0x200
release
end

#org $gotit
release
end

): It didn't work. I'm new to Pokescript too. Thanks for trying.
  #188   Link to this post, but load the entire thread.  
Old January 11th, 2008 (3:39 AM).
pokenar's Avatar
pokenar pokenar is offline
Lunatic Red Eyes
 
Join Date: Jan 2008
Age: 28
Gender: Male
Nature: Naive
Posts: 46
Quote:
Originally Posted by Sythes View Post
): It didn't work. I'm new to Pokescript too. Thanks for trying.
theres a great totorial on youtube that explains in great detail googleesearch "how do i us pokescript" and you should find it if not picka video and use the link to find another one.
  #189   Link to this post, but load the entire thread.  
Old January 11th, 2008 (2:03 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Well, i'm having troubles with a few scripts..
I cant find whats wrong with them, i've re-written the original ones, taken away the move after the pause (pausemove), I cant figure it out.

Here they are:

Code:
#org $begin
lock
checkflag 0x202
if b_true goto $done
message $wait
boxset 6
applymovement 0x10 $coming
pause 0
message $wildpokemon
boxset 6
applymovement 0x10 $comeback
pause 0
message $comehere
boxset 6
applymovement 0xFF $moveback
pause 0
applymovement 0x10 $goaway
pause 0
release
end

#org $wait
=Wait!

#org $wildpokemon
=There are wild Pokemon\nin the grass!

#org $comehere
=Come back here!

#org $coming
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0xFE

#org $comeback
#raw 0x0B
#raw 0x02
#raw 0xFE

#org $moveback
#raw 0x0B
#raw 0xFE

#org $goaway
#raw 0x0B
#raw 0x0B
#raw 0xFE

#org $done
release
end
Code:
#org $begin
lock
checkflag 0x202
if b_true goto $done
message $wait
boxset 6
applymovement 0x10 $coming
pause 0
message $wildpokemon
boxset 6
applymovement 0x10 $comeback
pause 0
message $comehere
boxset 6
applymovement 0xFF $moveback
pause 0
applymovement 0x10 $goaway
pause 0
release
end

#org $wait
=Wait!

#org $wildpokemon
=There are wild Pokemon\nin the grass!

#org $comehere
=Come back here!

#org $coming
#raw 0x09
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0xFE

#org $comeback
#raw 0x0B
#raw 0x02
#raw 0xFE

#org $moveback
#raw 0x0B
#raw 0xFE

#org $goaway
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x08
#raw 0xFE

#org $done
release
end
Code:
#org $begin
lock
checkflag 0x200
if b_true goto $done
checkflag 0x201
if b_true goto $gold 
message $hey
boxset 6
applymovement 0x4 $coming
pause 0
message $pokemon
boxset 6
applymovement 0x4 $going
pause 0
release
end

#org $gold
lock
applymovement 0x4 $coming
pausemove 0
message $goldylox
boxset 6
setflag 0x200
release
end

#org $hey
=Wait!\nYou cant go in there!\pSomething important is happening!

#org $goldylox
=I thinks it's over now...

#org $coming
#raw 0x09
#raw 0x09
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x09
#raw 0xFE

#org $going
#raw 0x08
#raw 0x08
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x08
#raw 0xFE

#org $done
release
end
Also, I don't know how to do a followme script if someone can explain that, i've avoided that so far by adding a movement and then making the person face the hero, then the hero would move..

It would be appreciated.
Thankyou.
  #190   Link to this post, but load the entire thread.  
Old January 11th, 2008 (3:34 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Quote:
Originally Posted by Sythes View Post
): It didn't work. I'm new to Pokescript too. Thanks for trying.
Oh well...I tryed it.

By the way, do you work with BufRite?
If yes, then I need help.
I tryed to open a .gba-File in BufRite.
But then the programm freezes!
Can you help me?

I added a video. Watch it.
The file TestScript.rbc is that script that I want to burn into a Rom.
Attached Files
File Type: avi clip0003.avi‎ (4.09 MB, 20 views) (Save to Dropbox)
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #191   Link to this post, but load the entire thread.  
Old January 11th, 2008 (7:37 PM). Edited January 11th, 2008 by kebbles.
kebbles's Avatar
kebbles kebbles is offline
Rom Hacker.
 
Join Date: Jul 2007
Location: Victoria, Australia!
Gender: Male
Nature: Brave
Posts: 616
Can someone make a script for me please?

I want a Person to give you a level 5, Treeko, with a RARE CANDY.
Then he gives you a POKeDEX.
And once he gives you the POKeDEX he moves to the left.

His offset is $16582F.

P.S It's for ScriptEd!
Any chance?
__________________
Pokémon Ice Version

When the world is in its final moments..
Where will you be?
  #192   Link to this post, but load the entire thread.  
Old January 12th, 2008 (5:59 PM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Posts: 1,855
hey could anyone help me with this script?
the script

#org $go
trainerbattle 1 0x059 $before $after
message $beaten
boxset 6
release
end

#org $before
$before 1 = I just lost, so I'm\ntrying to find \pmore POKEMON. Wait!\nYou look weak!\pCome on,Let's battle!

#org $after
$after 1 = Ugh.I don't have\nany more POKEMON

#org $beaten
$beaten 1 = I have to have\nmore POKEMON for battles.\pI'm going to\ncatch some more!

when I defeat him the game freezes does anyone know whats wrong?
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, S, M, US, UM)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Living Pokedex Complete: Y, C, R, LG, E, D, Pl, HG, B, B2, X, Y, OR, AS, M, UM, LGP, Sw, LA
Big thanks especially to DestinedJagold, Xerneas_X, Elements1, ~RNC~ and ThePoke Man

PM me if you want to trade, or add my FC.
  #193   Link to this post, but load the entire thread.  
Old January 12th, 2008 (6:02 PM).
+Sneasel™'s Avatar
+Sneasel™ +Sneasel™ is offline
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 29
Gender:
Nature: Lonely
Posts: 1,032
Quote:
Originally Posted by Dragoon View Post
hey could anyone help me with this script?
the script

#org $go
trainerbattle 1 0x059 $before $after
message $beaten
boxset 6
release
end

#org $before
$before 1 = I just lost, so I'm\ntrying to find \pmore POKEMON. Wait!\nYou look weak!\pCome on,Let's battle!

#org $after
$after 1 = Ugh.I don't have\nany more POKEMON

#org $beaten
$beaten 1 = I have to have\nmore POKEMON for battles.\pI'm going to\ncatch some more!

when I defeat him the game freezes does anyone know whats wrong?
The script looks correct.
Try putting it in this order:

#org $after

then

#org $before

thats how i usually do it.
__________________
Intentions that were pure have turned obscure,
Seconds into hours, minutes into years.
Don't ask me why,
PLEASE DON'T CRY!
I can't tell you lies...

Don't click this!

PPH - A great hacking forum :)
  #194   Link to this post, but load the entire thread.  
Old January 12th, 2008 (6:08 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
I think you might need a setflag, because the battle will keep repeating.


Code:
#org $begin
lock
checkflag 0x200
if b_true goto $beaten
trainerbattle 1 0x059 $before $after
release
end

#org $before
= I just lost, so I'm\ntrying to find \pmore POKEMON. Wait!\nYou look weak!\pCome on,Let's battle!

#org $after
lock
message $blahblah
$blahblah 1 =Ugh.I don't have\nany more POKEMON
boxset 0x6
setflag 0x200
release
end

#org $beaten
= I have to have\nmore POKEMON for battles.\pI'm going to\ncatch some more!
That should work, it worked for me.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #195   Link to this post, but load the entire thread.  
Old January 13th, 2008 (12:56 AM).
Thrace's Avatar
Thrace Thrace is offline
@tion
 
Join Date: Jun 2007
Age: 32
Gender: Male
Posts: 1,048
How do you change the position of a sprite forever after an event?
__________________
  #196   Link to this post, but load the entire thread.  
Old January 13th, 2008 (11:48 AM).
Swampert 22's Avatar
Swampert 22 Swampert 22 is offline
Is making tools for you...
 
Join Date: Sep 2005
Location: Switzerland
Age: 32
Gender: Male
Nature: Brave
Posts: 393
Does anybody know how to display the money box in the top left hand corner of the screen?

Thanks
__________________

I've made some tools for Pokémon hacking! Please check out the thread... Swampert Tools Showcase

Head over to my thread to check out my latest tool, Pokémon Red/Blue Trainer Editor!

Visit my site for Pokémon ROM Hacking tools! Swampert Tools Homepage
  #197   Link to this post, but load the entire thread.  
Old January 13th, 2008 (2:39 PM).
ryan123456789019's Avatar
ryan123456789019 ryan123456789019 is offline
 
Join Date: Aug 2007
Posts: 87
is it possible for someone to give me a script where a person will follow you form behind for the whole game
  #198   Link to this post, but load the entire thread.  
Old January 13th, 2008 (3:10 PM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Posts: 1,855
Hey does anyone know how to make a POKEMART script
because it never tells in tutorals
so can anyone ell me how to make a POKEMART script?
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, S, M, US, UM)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Living Pokedex Complete: Y, C, R, LG, E, D, Pl, HG, B, B2, X, Y, OR, AS, M, UM, LGP, Sw, LA
Big thanks especially to DestinedJagold, Xerneas_X, Elements1, ~RNC~ and ThePoke Man

PM me if you want to trade, or add my FC.
  #199   Link to this post, but load the entire thread.  
Old January 13th, 2008 (3:48 PM).
+Sneasel™'s Avatar
+Sneasel™ +Sneasel™ is offline
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 29
Gender:
Nature: Lonely
Posts: 1,032
Just use the scripts in the game and use A-mart to change the items they have.
__________________
Intentions that were pure have turned obscure,
Seconds into hours, minutes into years.
Don't ask me why,
PLEASE DON'T CRY!
I can't tell you lies...

Don't click this!

PPH - A great hacking forum :)
  #200   Link to this post, but load the entire thread.  
Old January 13th, 2008 (6:20 PM).
Thrace's Avatar
Thrace Thrace is offline
@tion
 
Join Date: Jun 2007
Age: 32
Gender: Male
Posts: 1,048
Quote:
Originally Posted by ryan123456789019 View Post
is it possible for someone to give me a script where a person will follow you form behind for the whole game
Look in a tutorial almost all tell you how to.
__________________
Closed Thread

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:23 AM.