- 7
- Posts
- 17
- Years
- Seen Jul 16, 2010
it may be possible for us to know what caused it if you'll show the script... :\
a simple one just:
#raw 0x75 0x55 0x0 0x0
it may be possible for us to know what caused it if you'll show the script... :\
Goto Simple questions for this one, it has nothing to do with scripting...i need help, can you put custom sprites on pokemon diamond?
if so how do you do this as i have wicked sprites to put on
Okay, I've made the flag changes, but the movement doesn't work, and the hidesprite doesn't apply unless you walk on the script again.... and if you step there a third time, you freeze...I've made some changes. There are over 1000 flags you can use. As a rule of thumb anywhere from 200-400 and 1000+ are ok to use.
Dunno if you noticed but the last 3 lines changed.Goto Simple questions for this one, it has nothing to do with scripting...
Okay, I've made the flag changes, but the movement doesn't work, and the hidesprite doesn't apply unless you walk on the script again.... and if you step there a third time, you freeze...
I have it compiled, not much is changed:
Spoiler:'-----------------------
'-----------------------
#org 0x71CC18
checkflag 0x201
if 0x1 goto 0x871CC60
if 0x0 goto 0x871CC29
end
'-----------------------
#org 0x71CC60
end
'-----------------------
#org 0x71CC29
showsprite 0x13
showsprite 0x12
applymovement 0x13 0x871CCC4
waitmovement 0x0
applymovement 0x12 0x871CEE2
waitmovement 0x0
trainerbattle 0x0 0x1 0x1 0x871CC62 0x871CC97
msgbox 0x871F471 '"Keep your stupid fossil\nLets go!"
fadescreen 0x0
hidesprite 0x13
hidesprite 0x12
setflag 0x201
warp6 0xBF 0xCD 0xCD 0xBFC3 0xC42D
virtualjumpif 0xC7 0xF0CDBF
checkobedience 0xE3DC
'-----------
' Movements
'-----------
#org 0x71CCC4
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 0 'Face Down
#raw FE 'End of Movements
#org 0x71CEE2
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw FE 'End of Movements
'---------
' Strings
'---------
#org 0x71CC62
= JESSIE&JAMES: Those Fossils belong to\nTeam Rocket!
#org 0x71CC97
= JESSIE&JAMES: Team Rocket Blasts off Again!
#org 0x71F471
= Keep your stupid fossil\nLets go!
#dynamic 0x800000
#org @new
checkflag 0x201
if 0x1 goto @end
checkflag 0x201
if 0x0 goto @next
end
'-----------------------
#org @end
release
end
'-----------------------
#org @next
showsprite 0x13
showsprite 0x12
applymovement 0x13 @1
waitmovement 0
applymovement 0x12 @2
waitmovement 0
trainerbattle 0x0 0x1 0x1 @3 @4
message @5
boxset 6
fadescreen 0x0
hidesprite 0x13
hidesprite 0x12
setflag 0x201
release
end
'-----------
' Movements
'-----------
#org @1
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 0 'Face Down
#raw FE 'End of Movements
#org @2
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw FE 'End of Movements
'---------
' Strings
'---------
#org @3
= JESSIE&JAMES: Those Fossils belong to\nTeam Rocket!
#org @4
= JESSIE&JAMES: Team Rocket Blasts off Again!
#org @5
= Keep your stupid fossil\nLets go!
Its not that hard, it just takes a bit of time. The tutorials here are really good, try reading some of them.Im seriously not a good scripter. I know nothing about it. I need help. could someone please add me as a contact and be my teacher? I really need alot of help for my hack
Theres definitely no easy way through scripting. As a rule of thumb, if it doesn't occur in the original games then there won't be a way to do it via scripting. What I mean is that there is no event to rename the rival in FR/LG/R/S/E so why would Nintendo make it possible?Hey. I need to know if there is a way to prompt for the rival's name? I'd like to have a way to set his name outside of the introduction .
This script on works which the problem?
#include stdpoke.rbh
#org 0xABCDEF
lock
faceplayer
message 0xABBCDE
boxset 6
showpokepic PKMN_CELEBI 0xA 0x3
hidepokepic
release
end
#org 0xABBCDE
= uhm...c'e qualcosa sulla\nroccia\pShaymin Dio Della Natura
msgbox mainbankspeech 'Hello and welcome to SafeCash Bank...
callstd MSG_STANDARD
multichoice 0x0 0x0 0x1 0x1
CopyVar 0x1001 LASTRESULT
Compare 0x1001 0x0
If 0x1 Call @Withdraw
Compare 0x1001 0x1
If 0x2 Call @Deposit
Compare 0x1001 0x2
If 0x3 Call @Exit
Search for it with A-Text and edit it there.I have a question about scripting multichoice. So far I've got this (It's a long script, so I've left out the rest).
Code:msgbox mainbankspeech 'Hello and welcome to SafeCash Bank... callstd MSG_STANDARD multichoice 0x0 0x0 0x1 0x1 CopyVar 0x1001 LASTRESULT Compare 0x1001 0x0 If 0x1 Call @Withdraw Compare 0x1001 0x1 If 0x2 Call @Deposit Compare 0x1001 0x2 If 0x3 Call @Exit
But how do you change what displays as the choices in the multichoice box? That is the box actually has Withdraw, Deposit and Exit written out as choices.
Thanks
Probably, it would make sense that they are located in the same place. Just search for one of them to get the offset (it'll say in A-Text) and then using a GBA Pokemon table you can see if they are.Is there a particular offset multichoice options are stored at for a specific ID #?
It just gives a hex value another value. Such as 0xCD is "A" in table 1 but in table 2 0xCD is "G". Its easier not to deal with those, just use A-Text.Thanks. Sorry if I'm being stupid, but whats a GBA Pokemon table? Is it like a hex editor or script editor or something?
Probably, either that or its a special. Just decompile the champion's script (its probably actually in the level script of the room where you register) using XSE or PKSV.elow...
since my question's related to scripting, I better post my question here. :P
In POKéMON Ruby, after we became 'champions' in the League, Latios will start flying around, right?
Is there a flag for Latios to appear? If so, then what is it? :\
Thankies in advance~
elow...
since my question's related to scripting, I better post my question here. :P
In POKéMON Ruby, after we became 'champions' in the League, Latios will start flying around, right?
Is there a flag for Latios to appear? If so, then what is it? :\
Thankies in advance~
Thanks. Sorry if I'm being stupid, but whats a GBA Pokemon table? Is it like a hex editor or script editor or something?
Well, the Ruby TV script behaviour script is found at 0x1A6E72. There is this special, "special 0x129" but the problem with this is that you need to walk around for a long to actually know if that is the right thing.
so it's a special...? :\
if so, then how can I deactivate it?
if it's a flag, the clearflag, right?
but special?
clearspecial?