The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #2401    
Old October 17th, 2009, 12:32 PM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
Quote:
Originally Posted by bigtukker View Post
Game: Fire Red
Type: Trigger
Editor: Pokescript
Script:
Spoiler:
#org $script
lock
checkflag 0x828
if 0x01 goto $flag
applymovement 0x12 $move
$move 1 ; #binary 0x62 0x18 0x18 0x18 0x18 0xFE
pausemove 0x0000
message $talk
$talk 1 = Hello there.\nI heard from my collegue\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.
msgbox 6
release
end

#org $flag
end

Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
Okay, so I'm not a big Pokescript fan, but I've used it before and I think I can see a few problems with your script. Changes in bold. Remember to always use hex numerals, I think that's the issue here.
Also, you might need to seperate your move command like a msgbox, but I'm not sure (you do in XSE...)
Seriously, change to XSE. It's way better, and very, very easy to learn if you already know Pokescript.
...Yeah, don't know enough about Pokescript to change more than that...

Quote:
Originally Posted by bigtukker View Post
I made a script tile after oaks door
When I go through that door, nothing happens and when i step up and down, the game freezes...

I made a XSE script too:
Spoiler:

'---------------
#org 0x80145B
lockall-(this might not be necessary, but it helps)
checkflag 0x828
if 0x1 goto 0x8801480
applymovement 0x9 0x8801481
waitmovement 0x0
msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
releaseall
end

'---------------
#org 0x801480
releaseall
end


'---------
' Strings
'---------
#org 0x801487
= Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.


'-----------
' Movements
'-----------
#org 0x801481
#raw 0x62 'Exclamation Mark (!)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
Oh, this is the same thing. In XSE. Cool.
I take it you extracted this from the game. When you edit and reinsert this, copy, paste, and compile it. DO NOT try to decompile, edit, then recompile it.
Umm, why are the targets for applymovement different in both scripts?
By the way, if you apply the changes above, the script will work if you step onto it after entering the map, but it still will not work right when you enter the lab. For that, you need a Level script; Cooley's done two absolutely terrific tutorials on level scripting, look them up.

That's all I can think of for that.

My own problem:
Spoiler:

#dynamic 0x800000
#org @rival1
lockall
checkflag 0x100B
if 0x1 goto @done
msgbox @hey 0x6
applymovement 0x1 @walkdown
waitmovement 0x0
msgbox @who 0x6
trainerbattle 0x1 0x001 0x0 @begin @end @after
releaseall
end
#org @after
msgbox @noway 0x6
applymovement 0x1 @thinking
waitmovement 0x0
msgbox @noway2 0x6
applymovement 0x1 @donethinking
waitmovement 0x0
msgbox @goodbye 0x6
applymovement 0x1 @leaving
waitmovement 0x0
hidesprite 0x1
setflag 0x100B
release
end
#org @done
releaseall
end
#org @hey
= Hey, what're you doing out here?
#org @who
= Who're you? And how'd you get\nout here? There aren't supposed\lto be any humans living out this\lfar!\p...\n...\l...\lWhat, never seen another human\lbeing before? Speak up!\p...\nWHAT?!\lYou can't be serious. How can\lanyone be raised by Pok\h1bmon?!\p...And you've got Pok\h1bballs on\nyour belt, where'd you get those?\pA Pok\h1bmon gave them to you?\nAre you crazy? Pok\h1bmon don't\leven understand English! You can't\ltalk to a Pok\h1bmon!\pAlright, I'm tired of this. You\nmust be a Trainer, so let's\lbattle!\p...you...don't...know...what...\na...battle...is...\p..........................\n......................\pWHAT IS WRONG WITH YOU?!\p...(Sheesh, maybe all that talk\nwas true after all. If it\lwas, I'll beat this rookie easily...)\pAlright then, I'll show you how\nto battle. Send out your Pok\h1bmon!
#org @begin
= Ready, go!
#org @end
= Impossible! You must have been\nlying to me!
#org @noway
= WHAT! I LOST?!\p...Liar! There's no way this was\nyour first battle! I refuse\lto accept it!\p...Urk, I can't believe I lost...
#org @noway2
= (But then, if that story was a lie...\phow...all the way out here...
#org @goodbye
= Fine then, I'll head back to\nFrontier Town. Next time, I won't\lgo so easy on you!
#org @walkdown
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @thinking
#raw 0x01
#raw 0x1C
#raw 0x63
#raw 0xFE

#org @donethinking
#raw 0x1C
#raw 0x1C
#raw 0x00
#raw 0xFE

#org @leaving
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE

The applymovement target doesn't walk down like I want him to. People # is 100B, so he vanishes right, and event # is 1. Oh, Unknown is 3, Movement 11, and on the script itself, unknown 3 var number 4050.
__________________
Credit for my avatar goes to the Lego company.
  #2402    
Old October 18th, 2009, 03:19 AM
Aberbecam
Booted out - don't be like me!
 
Join Date: Oct 2009
Location: In my reality.
Gender: Female
Nature: Naughty
This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x1 goto @end
applymovement 0x04 @move
waitmovement 0x0
playsong 0x14C 0x0
msgbox @1 0x2
givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
setflag 0x828
msgbox @2 0x2
applymovement 0x4 @move2
msgbox @3 0x2
setflag 0x829
applymovement 0x4 @move3
fadesong 0x150
end

#org @end
release
end

#org @move
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x65
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0x60
#raw 0xFE

#org @1
= Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI

have the perfect\npokemon for you.

#org @2
= Prof.Realm: Take care of\nCharmender! cya later

#org @3
= Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a

PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside

the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!
  #2403    
Old October 18th, 2009, 03:22 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 21
Gender: Male
Nature: Calm
Quote:
Originally Posted by Aberbecam View Post
This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x1 goto @end
applymovement 0x04 @move
waitmovement 0x0
playsong 0x14C 0x0
msgbox @1 0x2
givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
setflag 0x828
msgbox @2 0x2
applymovement 0x4 @move2
msgbox @3 0x2
setflag 0x829
applymovement 0x4 @move3
fadesong 0x150
end

#org @end
release
end

#org @move
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x65
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0x60
#raw 0xFE

#org @1
= Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI

have the perfect\npokemon for you.

#org @2
= Prof.Realm: Take care of\nCharmender! cya later

#org @3
= Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a

PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside

the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!
Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2404    
Old October 18th, 2009, 03:26 AM
hashtag's Avatar
hashtag
king cook
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Quote:
Originally Posted by Ash493 View Post
Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
Actually he only has to setflag 0x1000.
__________________
#OurLeaderTheMockingjay
  #2405    
Old October 18th, 2009, 07:50 AM
bigtukker
 
Join Date: Mar 2009
Gender:
Hi,
I have this problem
I enter this:
Spoiler:

'---------------
#org 0x80145B
lockall
checkflag 0x300
if 0x1 goto 0x8801480
applymovement 0x1 0x8801481
waitmovement 0x0
msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
setflag 0x300
applymovement 0x1 0x800000
releaseall
end

'---------------
#org 0x801480
releaseall
end

'---------
' Strings
'---------
#org 0x801487
= Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.


'-----------
' Movements
'-----------
#org 0x801481
#raw 0x62 'Exclamation Mark (!)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x80000
#raw 0x09
#raw 0xFE


and when I open it again in AdvanceMap I get this:

Spoiler:

'---------------
#org 0x80145B
lockall
checkflag 0x300
if 0x1 goto 0x8801480
applymovement 0x1 0x8801481
waitmovement 0x0
msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
setflag 0x300
applymovement 0x1 0x6B800000
settrainerflag 0x1010
'---------------
#org 0x801480
releaseall
settrainerflag 0x1010

'---------
' Strings
'---------
#org 0x801487
= Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.


'-----------
' Movements
'-----------
#org 0x801481
#raw 0x62 'Exclamation Mark (!)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
  #2406    
Old October 18th, 2009, 07:58 AM
hashtag's Avatar
hashtag
king cook
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Code:
#dynamic 0x[offset]
 
#org @start
lockall
checkflag 0x300
if 0x1 goto @done
setflag 0x300
applymovement 0x1 @move1
waitmovement 0x0
msgbox @msg1 MSG_NORMAL
applymovement 0x1 @move2
waitmovement 0x0
releaseall
end
 
#org @done
release
end
 
#org @msg1
= Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.
 
#org @move1
#raw 0x62 
#raw 0x10 
#raw 0x10 
#raw 0xFE 
 
#org @move2
#raw 0x09
#raw 0xFE
Just put in your own dynamic offset, and compile that.
__________________
#OurLeaderTheMockingjay
  #2407    
Old October 18th, 2009, 03:26 PM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
I am obnoxiously redirecting attention to my post at the very top of this page, namely, my script down at the bottom. Anyone know what's wrong?
__________________
Credit for my avatar goes to the Lego company.
  #2408    
Old October 18th, 2009, 07:43 PM
Aberbecam
Booted out - don't be like me!
 
Join Date: Oct 2009
Location: In my reality.
Gender: Female
Nature: Naughty
Quote:
Originally Posted by Manipulation View Post

Actually he only has to setflag 0x1000.

Uhmm..script works one time and the sprite does disappear when i setflag and one more thing, When i go to a new map the sprite appears again and the script happens again. How do i make the sprite disappear permenantly? and how do i stop the script from repeating? these are the numbers i put for the sprite-

Person Event NO:4
Picture NO:71
Unknown:00 03
Pos {X/Y}: 001D 0005
Person ID: 1000

and for the script i put these numbers-

Pos {X/Y}: 0015 0003
Unknown: 0003
Var Number: 4050

And hear is the script-

Spoiler:

#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x1 goto @end
applymovement 0x04 @move
waitmovement 0x0
playsong 0x149 0x0
msgbox @1 0x2
givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
setflag 0x828
msgbox @2 0x2
applymovement 0x4 @move2
msgbox @3 0x2
setflag 0x829
applymovement 0x4 @move3
fadesong 0x150
setflag 0x1000
end

#org @end
release
end

#org @move
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x65
#raw 0x11
#raw 0x11
#raw 0x02
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x01
#raw 0x60
#raw 0xFE

#org @1
= Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI have the perfect\npokemon for you.

#org @2
= Prof.Realm: Take care of\nCharmender! cya later

#org @3
= Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!


Soooo...Please help.
  #2409    
Old October 18th, 2009, 11:07 PM
mervyn797
What? I'm right here. >D
 
Join Date: Mar 2009
Gender: Male
Nature: Careful
umm... anyone knows what went wrong here?
Code:
#org 0x874013F
'-----------------------------------
lock
checkflag 0x8c3
if true jump @end
applymovement PLAYER 0x8740161 ' look_left say_! end
applymovement 0x4 0x8740164 ' look_down look_right...
message 0x8740167 ' \v\h06: Awesome weat...
showmsg
closemsg
applymovement 0x4 0x87401C3 ' run_down run_down ru...
disappear 0x4
setflag 0x8c3
release
end

#org @end
release
end

#org 0x8740167
= \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!  

#org 0x8740161
M look_left say_! end

#org 0x8740164
M look_down look_right end

#org 0x87401C3
M run_down run_down run_down end
its in pksv and is a trigger type.
  #2410    
Old October 19th, 2009, 03:46 AM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
Quote:
Originally Posted by mervyn797 View Post
umm... anyone knows what went wrong here?
Spoiler:

Code:
#org 0x874013F
'-----------------------------------
lock
checkflag 0x8c3
if true jump @end
applymovement PLAYER 0x8740161 ' look_left say_! end
applymovement 0x4 0x8740164 ' look_down look_right...
waitmovement 0x0
message 0x8740167 ' \v\h06: Awesome weat...
showmsg
closemsg
applymovement 0x4 0x87401C3 ' run_down run_down ru...
disappear 0x4
setflag 0x8c3
release
end
 
#org @end
release
end
 
#org 0x8740167
= \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!  
 
#org 0x8740161
M look_left say_! end
 
#org 0x8740164
M look_down look_right end
 
#org 0x87401C3
M run_down run_down run_down end

its in pksv and is a trigger type.
I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
__________________
Credit for my avatar goes to the Lego company.

Last edited by trebornosliw; October 19th, 2009 at 04:12 AM.
  #2411    
Old October 19th, 2009, 11:07 AM
bigtukker
 
Join Date: Mar 2009
Gender:
Game: Fire Red
Type: Trigger
Editor: XSE
Script:
Spoiler:

'---------------
#org 0x2E4F18
faceplayer
trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
msgbox 0x82E4EFD MSG_NORMAL '"My Pidgey's still awesome"
release
end


'---------
' Strings
'---------
#org 0x2E4EE0
= Fear my Pidgey

#org 0x2E4F41
= I should fear you!

#org 0x2E4EFD
= My Pidgey's still awesome

Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
Problem: Crashes after !-sign

Advance Map
Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00
  #2412    
Old October 20th, 2009, 02:02 AM
mervyn797
What? I'm right here. >D
 
Join Date: Mar 2009
Gender: Male
Nature: Careful
Quote:
Originally Posted by trebornosliw View Post
I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
the other sprites movements dont work, the message appears well. the player movements work
im guessing its something to do with the person ID?
no worries, it worked, thanks!

Last edited by mervyn797; October 20th, 2009 at 02:58 AM.
  #2413    
Old October 20th, 2009, 04:38 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 21
Gender: Male
Nature: Calm
Quote:
Originally Posted by bigtukker View Post
Spoiler:

'---------------
#org 0x2E4F18
lock
trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
msgbox 0x82E4EFD
callstd 0x6
release
end


'---------
' Strings
'---------
#org 0x2E4EE0
= Fear my Pidgey

#org 0x2E4F41
= I should fear you!

#org 0x2E4EFD
= My Pidgey's still awesome

Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00
And do ya have the 001 trainer in ROM filled with someone?
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2414    
Old October 20th, 2009, 04:56 AM
bigtukker
 
Join Date: Mar 2009
Gender:
Yes I have a Trainer with a Pidgey with Tackle, Sand Attack and Ice Punch
  #2415    
Old October 20th, 2009, 04:59 AM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
Quote:
Originally Posted by bigtukker View Post
Game: Fire Red
Type: Trigger
Editor: XSE
Script:
Spoiler:

'---------------
#org 0x2E4F18
faceplayer
trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
msgbox 0x82E4EFD MSG_NORMAL '"My Pidgey's still awesome"
release
end


'---------
' Strings
'---------
#org 0x2E4EE0
= Fear my Pidgey

#org 0x2E4F41
= I should fear you!

#org 0x2E4EFD
= My Pidgey's still awesome

Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
Problem: Crashes after !-sign

Advance Map
Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00
Firstly, I think you might have to have a unique Person ID for this guy.
Second, make sure you've checked the trainer box.
Now, if the screen just goes red after the !, go to advance map and open up that map. Find your event.
Now make another person event with all the same settings as your old event, and replace the trainer with the new person (same OW). Then try it. That often helps, though I have absolutlely no clue why.

And I'm going to cry for help again. Please, please go to the top of this page and tell me what's wrong with my script.
__________________
Credit for my avatar goes to the Lego company.
  #2416    
Old October 20th, 2009, 05:11 AM
bigtukker
 
Join Date: Mar 2009
Gender:
Still no good, I guess I'm gonna try Pokescript
  #2417    
Old October 20th, 2009, 07:35 AM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
Quote:
Originally Posted by bigtukker View Post
Still no good, I guess I'm gonna try Pokescript
No, Pokescript wouldn't make this any better as far as I know...
Here, try this:

Spoiler:

#dynamic 0x800000

#org @battle
lock
faceplayer
trainerbattle 0x0 0x001 0x0 @before @after
msgbox @stillawesome 0x6
closeonkeypress
release
end

#org @before
= FEAR MY PIDGEY!

#org @after
= ...I should fear you!

#org @stillawesome
= My Pidgey's still awesome!


Make sure to check the trainer box and all that. If the screen goes red, just make another person event exactly like it and replace the first one.


And from now on I'm sticking this in every post. Please someone, look at the top of this page and tell me what's wrong with my script there.
__________________
Credit for my avatar goes to the Lego company.
  #2418    
Old October 20th, 2009, 11:22 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 21
Gender: Male
Nature: Calm
Quote:
Originally Posted by trebornosliw View Post
Here, try this:
Better would be this way. But I don't know if that's gonna help...

Spoiler:

#dynamic 0x800000

#org @battle
lock
trainerbattle 0x0 0x1 0x0 @before @after
msgbox @stillawesome 0x4
closeonkeypress
release
end

#org @before
= FEAR MY PIDGEY!

#org @after
= ...I should fear you!

#org @stillawesome
= My Pidgey's still awesome!
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2419    
Old October 20th, 2009, 01:02 PM
bigtukker
 
Join Date: Mar 2009
Gender:
Thanks guys, but I should tell you something even weirder. I made a trainer EXACTLY like an existing one and it still crashes... Could it be the rom?
  #2420    
Old October 20th, 2009, 07:33 PM
trebornosliw's Avatar
trebornosliw
Learning
 
Join Date: Jul 2009
Age: 21
Gender: Male
Nature: Adamant
No, that's something that's happened to me before.
Seriously do this: make an entirely new person event, tailor it so it's exactly like the one you're using, then replace the old with the new and delete the old. i've had that same problem before and this fixes it every time.
You know Ash493, this may be off-topic, but I find your signature mildly creepy (no offense ).

And once again, please, someone look at the top of this page and tell me what's wrong with my script.
__________________
Credit for my avatar goes to the Lego company.
  #2421    
Old October 21st, 2009, 12:37 AM
bigtukker
 
Join Date: Mar 2009
Gender:
It doesn't fix it
What I do is this

Make a new person
make the same proportions (this includes: View Radius Script Offset and Trainer checked,) as the old person
delete the old person
put the new person in the old persons place

Perhaps this might help:
http://www.youtube.com/watch?v=1VAn2j84z5U
I know it's quite small and poor quality

Last edited by bigtukker; October 21st, 2009 at 01:20 AM.
  #2422    
Old October 21st, 2009, 02:12 AM
Ben.'s Avatar
Ben.
Orange I s l a n d s~
Community Supporter Tier 2
 
Join Date: Jun 2009
Location: England
Age: 17
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to Ben.
Firered
Pocket Script
Spoiler:
#org $scrpit
lock
faceplayer
message $question
$question 1 = Are you from Pallet Town?
boxset 5
compare 0x800d 0x0001
if 0x01 goto $yes
message $no
$no 1 = You're not? That's too bad.
boxset 6
release
end
#org $yes
message $yes1
$yes1 1 = You are? That's great!
boxset
release
end

Yes or no question i wont talk to me
i only started yesterday
__________________


  #2423    
Old October 21st, 2009, 02:15 AM
bigtukker
 
Join Date: Mar 2009
Gender:
Quote:
Originally Posted by Ben. View Post
Firered
Pocket Script
Spoiler:
#org $scrpit
lock
faceplayer
message $question
$question 1 = Are you from Pallet Town?
boxset 5
compare 0x800d 0x0001
if 0x01 goto $yes
message $no
$no 1 = You're not? That's too bad.
boxset 6
release
end

#org $yes
message $yes1
$yes1 1 = You are? That's great!
boxset 6
release
end

Yes or no question i wont talk to me
i only started yesterday
this is the only mistake i saw, but i don't think this will help...
  #2424    
Old October 21st, 2009, 02:27 AM
Ben.'s Avatar
Ben.
Orange I s l a n d s~
Community Supporter Tier 2
 
Join Date: Jun 2009
Location: England
Age: 17
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to Ben.
Quote:
Originally Posted by bigtukker View Post
this is the only mistake i saw, but i don't think this will help...
Thanks i forgot to burn it to the rom is the problem *faceplam*
__________________


  #2425    
Old October 21st, 2009, 03:56 AM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote:
Originally Posted by trebornosliw View Post
My own problem:
Spoiler:

#dynamic 0x800000
#org @rival1
lockall
checkflag 0x100B
if 0x1 goto @done
msgbox @hey 0x6
applymovement 0x1 @walkdown
waitmovement 0x0
msgbox @who 0x6
trainerbattle 0x1 0x001 0x0 @begin @end @after
releaseall
end
#org @after
msgbox @noway 0x6
applymovement 0x1 @thinking
waitmovement 0x0
msgbox @noway2 0x6
applymovement 0x1 @donethinking
waitmovement 0x0
msgbox @goodbye 0x6
applymovement 0x1 @leaving
waitmovement 0x0
hidesprite 0x1
setflag 0x100B
release
end
#org @done
releaseall
end
#org @hey
= Hey, what're you doing out here?
#org @who
= Who're you? And how'd you get\nout here? There aren't supposed\lto be any humans living out this\lfar!\p...\n...\l...\lWhat, never seen another human\lbeing before? Speak up!\p...\nWHAT?!\lYou can't be serious. How can\lanyone be raised by Pok\h1bmon?!\p...And you've got Pok\h1bballs on\nyour belt, where'd you get those?\pA Pok\h1bmon gave them to you?\nAre you crazy? Pok\h1bmon don't\leven understand English! You can't\ltalk to a Pok\h1bmon!\pAlright, I'm tired of this. You\nmust be a Trainer, so let's\lbattle!\p...you...don't...know...what...\na...battle...is...\p..........................\n......................\pWHAT IS WRONG WITH YOU?!\p...(Sheesh, maybe all that talk\nwas true after all. If it\lwas, I'll beat this rookie easily...)\pAlright then, I'll show you how\nto battle. Send out your Pok\h1bmon!
#org @begin
= Ready, go!
#org @end
= Impossible! You must have been\nlying to me!
#org @noway
= WHAT! I LOST?!\p...Liar! There's no way this was\nyour first battle! I refuse\lto accept it!\p...Urk, I can't believe I lost...
#org @noway2
= (But then, if that story was a lie...\phow...all the way out here...
#org @goodbye
= Fine then, I'll head back to\nFrontier Town. Next time, I won't\lgo so easy on you!
#org @walkdown
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @thinking
#raw 0x01
#raw 0x1C
#raw 0x63
#raw 0xFE

#org @donethinking
#raw 0x1C
#raw 0x1C
#raw 0x00
#raw 0xFE

#org @leaving
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE

The applymovement target doesn't walk down like I want him to. People # is 100B, so he vanishes right, and event # is 1. Oh, Unknown is 3, Movement 11, and on the script itself, unknown 3 var number 4050.
I guessed it right. After looking at your script, the first thing that is causing your error is that the NPC is too far away from the game's screen.
Let me explain so you can at least learn something.

Okay, so your error is in the
@walkdown...
I counted how many 'down movements' it has, and I concluded that the NPC was too far.
Spoiler:


Okay so the solution will be, put the NPC one block down and remove one 'raw 0x10' from your script and it'll work just fine~
__________________
3DS FC: 0061-1111-6462
SV: 1364 | Rock Safari: Dwebble, Corsola and Barbaracle
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:06 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.