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.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #4076    
Old June 9th, 2010, 03:49 PM
.Paradox
Hack Completion: ~5%...LOL
 
Join Date: Jun 2010
Age: 18
Gender: Male

Advertise here
Alright, so here is my new code. I want you to tell me everything that's wrong with it, because I can get the door to open, but it won't close before I warp for some reason.

Spoiler:
#dynamic 0x7543B2

#org @start
checkflag 0x828
lockall
if 0x1 goto @done
playsong 0x12E 0x0
msgbox @1 0x6
applymovement 0x02 @move
applymovement 0xFF @move2
waitmovement 0x2
msgbox @2 0x6
applymovement 0x02 @move3
applymovement 0xFF @move4
waitmovement 0x0
setdooropened 0x0A 0x11
doorchange
applymovement 0x02 @move5
applymovement 0xFF @move6
waitmovement 0xFF
setdoorclosed 0x0A 0x11
doorchange
warp 0x4 0x3 0xFF 0x06 0x0C
waitstate
fadesong 0x12C
releaseall
end

#org @done
releaseall
end

#org @move
#raw 0x62
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @move2
#raw 0x03
#raw 0xFE

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

#org @move4
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0xFE

#org @move5
#raw 0x11
#raw 0x60
#raw 0xFE

#org @move6
#raw 0x12
#raw 0x11
#raw 0x60
#raw 0xFE

#org @1
= No, don't go out there!
#org @2
= You can't go out there\nwithout your own Pokemon.\pWild Pokemon will hurt you.\nCome with me and we'll get you one.


Now I just can't make it so Oak doesn't appear before the script is called :/

Aside from that stuff I need to go look up how to make Oak not actually be visible before I toggle the script. But I'll have a video up soon to show you what's happening.

Here's a video: watch?v=FkslBRsNMR4

Stick that on the end of the YouTube URL...sorry but I can't post URLs or even embed a video yet :X
Sorry I'm having so many problems haha

Last edited by .Paradox; June 9th, 2010 at 05:00 PM. Reason: changed script/added video
  #4077    
Old June 9th, 2010, 05:16 PM
bencask
Beginning Trainer
 
Join Date: Jun 2010
Gender: Male
Quote:
Originally Posted by trebornosliw View Post
I don't think anyone addressed this. If I'm wrong, sorry.
To make the sprite disappear, use this in XSE:

hidesprite 0x(person event number)
setflag 0x(personID)
I've never heard of the #raw method, does it work?

Oh, and I have one other question. In YAPE there are three values for a Pokemon's number, national dex, Hoenn dex, and Game. Am I correct in assuming that Game is the value I use in say, a givepokemon script?

#raw 0x53 is the exact same as typing hidesprite. The pokemon number would just be the number of the pokemon in hex so for example, let's use treeko. Treeko is number 277 so you would type 0x115 in for it's number. Now let's get to my script which seems to still be breaking at the hidesprite command (maybe I'm confused about the person event number but it seems pretty self explanitory). Maybe it's the flag I'm using I don't know...
Spoiler:

#org $begin
lock
faceplayer
message $wantpoke
boxset 5
compare LASTRESULT 1
if 0x1 goto $getpoke
release
end

#org $getpoke
lock
givepokemon 0x44 0x0A 0x0
message $received
boxset 6
hidesprite 0x00
setflag 0x1234
release
end

$received 1 =Received a Machamp!

$wantpoke 1 =Would you like this Machamp?

Here's some of the info listed on advance map to help find the problem.
Spoiler:

Person Event
No. : 0

Person Event Number: 1
Picture Number: 92
...

Person ID: 1234


Thanks for any help!
  #4078    
Old June 9th, 2010, 10:41 PM
krillian's Avatar
krillian
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
I sloved the my question, you use special 63 I found out in the ho-oh event on emeraldanyway, I still would like to know the answer to my other questionjust what to know what time is moring, afternoon, nightime etc..and how do you change the time, by a script in Pokmon Emeraled@metapodThat's is a tough question, why don't you just ditch the sciprt and start again, That can sometime work, or you can just used the firered onePS. I hope AshGary is going well
  #4079    
Old June 10th, 2010, 11:53 AM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by krillian View Post
I still would like to know the answer to my other questionjust what to know what time is moring, afternoon, nightime etc..
The time, after being read from the RTC, is written to 0x03000DC0. Keep in mind, though, that it's formatted in binary-coded decimal so you'll have to convert it to hex. Anyways, the data is stored like this:
(year) (month) (date) (filler) (hour) (minute) (second)

So at the moment for me it's:
10 06 10 00 12 51 27.
__________________

Brother of Vrai

Last edited by colcolstyles; June 10th, 2010 at 12:22 PM. Reason: "Formatted" has two 't's
  #4080    
Old June 10th, 2010, 12:22 PM
TheChroniclesofLance's Avatar
TheChroniclesofLance
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
how do you add a special?
__________________
http://www.pokecommunity.com/showthread.php?t=220574
My Main Hack: Pokemon: World Tour



  #4081    
Old June 10th, 2010, 01:23 PM
vietazn654's Avatar
vietazn654
A sound soul dwells within me
 
Join Date: Feb 2010
Location: Virginia
Age: 19
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to vietazn654 Send a message via Yahoo to vietazn654
Quote:
Originally Posted by TheChroniclesofLance View Post
how do you add a special?
Look up a tut.

Anyways, here is mine. The error is is that it says unknown keyword "at" at line 26. I looked at it and its a blank space. I tried erasing it and still...

Code:
#dynamic 0x26D54A

#org @start
checkflag 0x1001
if 0x1 goto @done
applymovement 0x2 @move
waitmovement 0x0
msgbox @1 0x6
call @pokemon
msgbox @2 0x6
applymovement 0x2 @move0
waitmovement 0x0
setflag 0x1001
release
end

#org @done
release
end

#org @1
= [blue_fr]Dad: \v\h01, Prof. Maple told me\nthat she had to go somewhere.\lShe felt bad that you couldn't get\la Pokemon of your choice, so she\lgave me a Pokabu from Isshu to\lgive to you.\pHere, \v\h01.

#org @2
= [blue_fr]It's a very special Pokemon,\n\v\h01.\pAnyways, you should challenge Gym\nLeader Angelica so you can get out\lof this town.\pBye, \v\h01.

#org @move
#raw 0x62
#raw 0x11
#raw 0x11
#raw 0xFE

#org @move0
#raw 0x10
#raw 0x10
#raw 0x03
#raw 0xFE

#org @pokemon
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
return

#org @name
call 0x1A74EB
return

#org @3
= \v\h01 recieved a POKABU!

#org @4
= Would you like to give a nickname\nto POKABU?

#org @5
= POKABU: Poka-poka!
__________________

I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
  #4082    
Old June 10th, 2010, 01:31 PM
.Paradox
Hack Completion: ~5%...LOL
 
Join Date: Jun 2010
Age: 18
Gender: Male
Quote:
Originally Posted by vietazn654 View Post
Look up a tut.

Anyways, here is mine. The error is is that it says unknown keyword "at" at line 26. I looked at it and its a blank space. I tried erasing it and still...

Code:
#dynamic 0x26D54A

#org @start
checkflag 0x1001
if 0x1 goto @done
applymovement 0x2 @move
waitmovement 0x0
msgbox @1 0x6
call @pokemon
msgbox @2 0x6
applymovement 0x2 @move0
waitmovement 0x0
setflag 0x1001
release
end

#org @done
release
end

#org @1
= [blue_fr]Dad: \v\h01, Prof. Maple told me\nthat she had to go somewhere.\lShe felt bad that you couldn't get\la Pokemon of your choice, so she\lgave me a Pokabu from Isshu to\lgive to you.\pHere, \v\h01.

#org @2
= [blue_fr]It's a very special Pokemon,\n\v\h01.\pAnyways, you should challenge Gym\nLeader Angelica so you can get out\lof this town.\pBye, \v\h01.

#org @move
#raw 0x62
#raw 0x11
#raw 0x11
#raw 0xFE

#org @move0
#raw 0x10
#raw 0x10
#raw 0x03
#raw 0xFE

#org @pokemon
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
return

#org @name
call 0x1A74EB
return

#org @3
= \v\h01 recieved a POKABU!

#org @4
= Would you like to give a nickname\nto POKABU?

#org @5
= POKABU: Poka-poka!
I just tried compiling it and it worked =X what editor are you using?
  #4083    
Old June 10th, 2010, 01:47 PM
vietazn654's Avatar
vietazn654
A sound soul dwells within me
 
Join Date: Feb 2010
Location: Virginia
Age: 19
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to vietazn654 Send a message via Yahoo to vietazn654
Quote:
Originally Posted by .Paradox View Post
I just tried compiling it and it worked =X what editor are you using?
it's alright i remade it and it worked. it must be something wit the text. thanks anyways
__________________

I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
  #4084    
Old June 10th, 2010, 07:31 PM
TheChroniclesofLance's Avatar
TheChroniclesofLance
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
I am using PSKV

and I want to make a script in which you turn over three items
Spoiler:
#dyn 0x740020
#org @start
lock
storeitem 0 none
storeitem 1 SAPPHIRE
storeitem 1 RUBY
storeitem 1 THUNDERSTONE
checkitem NONE 1
compare LASTRESULT 0
if == jump @donthave
checkitem SAPPHIRE 1
checkitem RUBY 1
checkitem THUNDERSTONE 1
compare LASTRESULT 0
if == jump @donthave
msgbox @msg-have
callstd MSG_YESNO
compare LASTRESULT YES
if == jump :end
removeitem SAPPHIRE 1
removeitem RUBY 1
removeitem THUNDERSTONE 1
additem none 1
msgbox @finished
callstd MSG_NOCLOSE
:end
release
end
#org @donthave
msgbox @msg-donthave
callstd MSG_NOCLOSE
storeitem 0 NONE
msgbox @msg-donthave2
callstd MSG_NOCLOSE
release
end
#org @msg-donthave
= Disturb not the harmony,\n of FIRE, ICE, and LIGHTNING.
#org @msg-donthave2
= Lest these Titans bring destruction\nupon the world in which they clash.\pThough the Water's Great Guardian\nshall rise to quell the fighting.\pAlone it's song will fail.\nThus the Earth shall turn to Ash.\pO, Chosen One, into thine hands\nbring together all three, their\ptrasures combined to tame\nthe Beast of the Sea.
#org @have
= Place the Thunder gem, Fire gem, and Ice gem?
#org @finished
= You completed the Legends festival!



but instead I get this.
most of it went through, but why did it change to \h7F v\H24
would the script still work the same way as I plan it to?

Spoiler:
#org 0x8740FC0
'-----------------------------------
lock
storeitem 0x0 NONE
storeitem 0x1 SAPPHIRE
storeitem 0x1 RUBY
storeitem 0x1 THUNDERSTONE
checkitem NONE 1
compare LASTRESULT 0x0
if == jump 0x874102C ' Equal To
checkitem SAPPHIRE 1
checkitem RUBY 1
checkitem THUNDERSTONE 1
compare LASTRESULT 0x0
if == jump 0x874102C ' Equal To
msgbox 0x8000000 ' \h7F v\h24
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x874102A ' Equal To
removeitem SAPPHIRE 1
removeitem RUBY 1
removeitem THUNDERSTONE 1
additem NONE 1
msgbox 0x87411E0 ' You completed the Le...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x874102C
'-----------------------------------
msgbox 0x8741042 ' Disturb not the harm...
callstd MSG_NOCLOSE ' Non-closing message
storeitem 0x0 NONE
msgbox 0x8741079 ' Lest these Titans br...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x874102A
'-----------------------------------
release
end

#org 0x8000000
= \h7F v\h24
#org 0x87411E0
= You completed the Legends festival!
#org 0x8741042
= Disturb not the harmony,\n of FIRE, ICE, and LIGHTNING.
#org 0x8741079
= Lest these Titans bring destruction\nupon the world in which they clash.\pThough the Water's Great Guardian\nshall rise to quell the fighting.\pAlone it's song will fail.\nThus the Earth shall turn to Ash.\pO, Chosen One, into thine hands\nbring together all three, their\ptrasures combined to tame\nthe Beast of the Sea.
__________________
http://www.pokecommunity.com/showthread.php?t=220574
My Main Hack: Pokemon: World Tour



  #4085    
Old June 11th, 2010, 08:56 PM
.Paradox
Hack Completion: ~5%...LOL
 
Join Date: Jun 2010
Age: 18
Gender: Male
I couldn't find a thread with sound offsets in it, so unless I was completely blind, I need help. Sort of.

This script works perfectly for me. I just need to know what to put to play the sound of a door opening or something that suits a pathway being revealed. Here's my script:

Spoiler:
#org @start
lockall
countpokemon
compare 0x800D 0x6
if 0x1 goto @pass
msgbox @1 0x3
releaseall
end

#org @pass
msgbox @2 0x3
setmaptile 0x09 0x03 0x281 0x0
special 0x8E
releaseall
end

#org @1
= You must be a true Trainer\nwith a party of six.\pOnly then will the path\nbe revealed to you.

#org @2
= One, two, three,\nfour, five, six...\pYou are a true Trainer.\nPlease continue.


I want it to happen after before setmaptile
  #4086    
Old June 11th, 2010, 09:10 PM
Lollypop's Avatar
Lollypop
Member since '07 <300 posts
 
Join Date: Nov 2007
Location: Melbourne,Australia
Age: 17
Gender: Male
Nature: Modest
Send a message via Windows Live Messenger to Lollypop
argh when i type up the script and put it onto my firered rom on a random npc. u hear a click sound and but no script. help!!

#dynamic 0x456734
#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= Hi.\nMy name is Chris.
__________________
Send me random friend invites!!

Random Fact 1: i play maplestory. Global, that is.





I support DJG's hacks 100% as they are soooo good.

pokemon raptor!!

http://www.youtube.com/user/Salamance099?feature=mhee Subscribe please!
  #4087    
Old June 11th, 2010, 09:15 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by Lollypop View Post
argh when i type up the script and put it onto my firered rom on a random npc. u hear a click sound and but no script. help!!

#dynamic 0x456734
#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= Hi.\nMy name is Chris.
Try putting the #dynamic as 0x800000 and then copying the offset it gives you onto the player event. Also, don't use npcs that are already there, make new ones, and if that still doesn't work, try deleting the level scripts on the map if there are any.
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #4088    
Old June 11th, 2010, 09:19 PM
Lollypop's Avatar
Lollypop
Member since '07 <300 posts
 
Join Date: Nov 2007
Location: Melbourne,Australia
Age: 17
Gender: Male
Nature: Modest
Send a message via Windows Live Messenger to Lollypop
how do u make another npc lol? the map is in pallet town. its ur room.
__________________
Send me random friend invites!!

Random Fact 1: i play maplestory. Global, that is.





I support DJG's hacks 100% as they are soooo good.

pokemon raptor!!

http://www.youtube.com/user/Salamance099?feature=mhee Subscribe please!
  #4089    
Old June 11th, 2010, 09:28 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Go to events and change the number to one higher, and click "change events." That should make a sprite appear in the top left corner.
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #4090    
Old June 11th, 2010, 09:29 PM
.Paradox
Hack Completion: ~5%...LOL
 
Join Date: Jun 2010
Age: 18
Gender: Male
Nevermind. I was a split second too late ;D
  #4091    
Old June 12th, 2010, 08:46 AM
ThunderMa14
Beginning Trainer
 
Join Date: Jun 2010
Gender: Male
Hey, Is there a script that removes all the pokemon from one's party?
(sorry for the dp, but I already posted it in the "simple questions" thread)

~ThunderMa14~
  #4092    
Old June 12th, 2010, 10:46 AM
qaz015393's Avatar
qaz015393
pokemon revenge developer
 
Join Date: Aug 2009
Age: 24
Gender: Male
im try to make an event were i enter a town & see a pokemon then he gets that ! & notices me & runs of (like the dogs in g/s/c). this is what i have:
Code:
Game: ruby
Type:xse 
Editor: 
Script:
Spoiler:
#dynamic 0x2166F0 #org @start checkflag 0x01 if 0x01 goto @done lock faceplayer textcolor 0x01 Message @Speak BoxSet 0x6 setflag 0x4 release end #org @done faceplayer clearflag 0x04 release end #org @Speak = !!!
can someone tell me what i did as soon as posible. and can you show me how to fix it so it would work right cause right now its not working.
  #4093    
Old June 12th, 2010, 05:14 PM
locoroco's Avatar
locoroco
Ginga Densetsu Weed ANIME PWNS
 
Join Date: Oct 2009
Location: Manati, Puerto rico
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to locoroco
First what version are you using of xse and maybe i can help you and now i need some help

Xse newest version pokemon fire red

'---------------
#org 0x80173E
checkflag 0x1000
if 0x1 goto 0x8801872
hidesprite 0x3
showsprite 0x3
waitmovement 0x3
applymovement 0x3 0x8801784
waitmovement 0x3
msgbox 0x880178E MSG_NORMAL '"Hi honey today is you're birthday...."
setflag 0x82F
fanfare 0x13E
waitfanfare
msgbox 0x88017C8 MSG_NORMAL '"You recieved the running shoes.\pR..."
applymovement 0x3 0x8801789
waitmovement 0x3
hidesprite 0x3
setflag 0x1000
release
end

'---------------
#org 0x801872
release
end


'---------
' Strings
'---------
#org 0x80178E
= Hi honey today is you're birthday.\nHere is you're gift.

#org 0x8017C8
= You recieved the running shoes.\pRead the instructions.\lPress B to run super fast it.\lI hope you like it also you're dad\lwas looking for you he said he\lhad a surprise.


'-----------
' Movements
'-----------
#org 0x801784
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x801789
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

i cant get the running shoes and i want the mom to be invisible until i step on the script tile she moves and everything but those 2 issues i cant fix.
__________________
This signature has been disabled.
Signature needs to be kept to a 600px x 400px area. Your long line of text pushes it over the limit. Put a few enters there and you will be able to get it inside the limits.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #4094    
Old June 12th, 2010, 05:58 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by qaz015393 View Post
im try to make an event were i enter a town & see a pokemon then he gets that ! & notices me & runs of (like the dogs in g/s/c). this is what i have:
Code:
Game: ruby
Type:xse 
Editor: 
Script:
Spoiler:
#dynamic 0x2166F0 #org @start checkflag 0x01 if 0x01 goto @done lock faceplayer textcolor 0x01 Message @Speak BoxSet 0x6 setflag 0x4 release end #org @done faceplayer clearflag 0x04 release end #org @Speak = !!!
can someone tell me what i did as soon as posible. and can you show me how to fix it so it would work right cause right now its not working.
Right off the bat, for those scripts you need the movesprite2 command, make him run out sight using applymovements and then use movesprite2 to move him anywhere on the map. If you use applymovements, the sprite can only go like 10 spots away, and if you use regular movesprite, he will revert back to his original position.
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #4095    
Old June 12th, 2010, 06:49 PM
qaz015393's Avatar
qaz015393
pokemon revenge developer
 
Join Date: Aug 2009
Age: 24
Gender: Male
thanks. i saw that from youtube & i've been trying to fix it but still no luck. this is what i have now (dont know if it's right but it looks right from what i have seen):
Spoiler:
#dynamic 0x803000

#org @start
lock
faceplayer
applymovement ox5 @move1
msgbox @1 0x56
applymovement ox6 @move2
waitmovement 0x2
fadescreen 0x1
fadescreen 0x0
hidesprite 0x187
hidesprite 0x188
setflag 0x200
setflag 0x201
release
end

#org @move1
#raw 0x80
#raw 0xFE

#org @move2
#raw 0x81
#raw 0xFE


#org @1
= ???

bty i dont no what version of xse i have i got this one mediafire.com/?d2fzwimnmd5
  #4096    
Old June 12th, 2010, 08:27 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by qaz015393 View Post
thanks. i saw that from youtube & i've been trying to fix it but still no luck. this is what i have now (dont know if it's right but it looks right from what i have seen):
Spoiler:
#dynamic 0x803000

#org @start
lock
faceplayer
applymovement ox5 @move1
msgbox @1 0x56
applymovement ox6 @move2
waitmovement 0x2
fadescreen 0x1
fadescreen 0x0
hidesprite 0x187
hidesprite 0x188
setflag 0x200
setflag 0x201
release
end

#org @move1
#raw 0x80
#raw 0xFE

#org @move2
#raw 0x81
#raw 0xFE


#org @1
= ???

bty i dont no what version of xse i have i got this one mediafire.com/?d2fzwimnmd5
A couple of things. One, "0x" and "ox" are different in that "0x" is correct. Two, there is no "std function 0x56". I assume that after the "msgbox @1" you meant to put "0x6". Three, you can't have more than 256 OWs on a map. According to your hidesprite commands, you have at lest 392 which doesn't make any sense. Check the "Person No." for each of your OWs in AdvanceMap again. Four, why are you using "waitmovement 0x2"? You should either be using "waitmovement 0x0" or maybe "waitmovement 0xXX" where XX equals the Person No. of the OW that you just applied a movement to. Five, you're missing a "waitmovement" command after the first "applymovement". Six, from what I can tell, your use of "fadescreen" will create a blinking effect but the OWs will disappear after the blink which won't look good.
__________________

Brother of Vrai
  #4097    
Old June 12th, 2010, 09:11 PM
qaz015393's Avatar
qaz015393
pokemon revenge developer
 
Join Date: Aug 2009
Age: 24
Gender: Male
Quote:
Originally Posted by colcolstyles View Post
A couple of things. One, "0x" and "ox" are different in that "0x" is correct. Two, there is no "std function 0x56". I assume that after the "msgbox @1" you meant to put "0x6". Three, you can't have more than 256 OWs on a map. According to your hidesprite commands, you have at lest 392 which doesn't make any sense. Check the "Person No." for each of your OWs in AdvanceMap again. Four, why are you using "waitmovement 0x2"? You should either be using "waitmovement 0x0" or maybe "waitmovement 0xXX" where XX equals the Person No. of the OW that you just applied a movement to. Five, you're missing a "waitmovement" command after the first "applymovement". Six, from what I can tell, your use of "fadescreen" will create a blinking effect but the OWs will disappear after the blink which won't look good.
thanks i fixed it. & this is what i got
Spoiler:
#dynamic 0x803000

#org @start
lock
faceplayer
applymovement ox5 @move1
waitmovement 0x0
msgbox @1 0x6
applymovement 0x6 @move2
waitmovement 0x0
hidesprite 0x4
hidesprite 0x5
setflag 0x200
setflag 0x201
release
end

#org @move1
#raw 0x80
#raw 0xFE

#org @move2
#raw 0x81
#raw 0xFE

#org @1
= !!!
now how do i make it so that when i enter the town the 2 pkmn are Alerted by me & run off. i got the apply & waitmovement. do i need to take out the msgbox or do i not need it? i dont know what to use. also im a bit confused in which #s i' adding in script offset, do i add the ones from free space finder & also what im i supode to do with the #s from when i compile the script.

Last edited by qaz015393; June 12th, 2010 at 09:34 PM.
  #4098    
Old June 12th, 2010, 09:47 PM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 19
Quote:
Originally Posted by locoroco View Post
First what version are you using of xse and maybe i can help you and now i need some help

Xse newest version pokemon fire red

'---------------
#org 0x80173E
checkflag 0x1000
if 0x1 goto 0x8801872
hidesprite 0x3
showsprite 0x3
waitmovement 0x3
applymovement 0x3 0x8801784
waitmovement 0x3
msgbox 0x880178E MSG_NORMAL '"Hi honey today is you're birthday...."
setflag 0x82F
fanfare 0x13E
waitfanfare
msgbox 0x88017C8 MSG_NORMAL '"You recieved the running shoes.\pR..."
applymovement 0x3 0x8801789
waitmovement 0x3
hidesprite 0x3
setflag 0x1000
release
end

'---------------
#org 0x801872
release
end


'---------
' Strings
'---------
#org 0x80178E
= Hi honey today is you're birthday.\nHere is you're gift.

#org 0x8017C8
= You recieved the running shoes.\pRead the instructions.\lPress B to run super fast it.\lI hope you like it also you're dad\lwas looking for you he said he\lhad a surprise.


'-----------
' Movements
'-----------
#org 0x801784
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x801789
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

i cant get the running shoes and i want the mom to be invisible until i step on the script tile she moves and everything but those 2 issues i cant fix.
Code:
'---------------
#org 0x80173E
checkflag 0x0x82F
if 0x1 goto 0x8801872
applymovement 0x3 0x8801784
waitmovement 0x3
msgbox 0x880178E MSG_NORMAL '"Hi honey today is you're birthday...."
fanfare 0x13E
waitfanfare
msgbox 0x88017C8 MSG_NORMAL '"You recieved the running shoes.\pR..."
applymovement 0x3 0x8801789
waitmovement 0x3
hidesprite 0x3
setflag 0x82F
release
end

'---------------
#org 0x801872
release
end


'---------
' Strings
'---------
#org 0x80178E
= Hi honey today is you're birthday.\nHere is you're gift.

#org 0x8017C8
= You recieved the running shoes.\pRead the instructions.\lPress B to run super fast it.\lI hope you like it also you're dad\lwas looking for you he said he\lhad a surprise.


'-----------
' Movements
'-----------
#org 0x801784
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x801789
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
Not sure..but try that.
Also, set the mom OW to "hidden" and when the movements happen, she should show up.

Quote:
Originally Posted by qaz015393 View Post
thanks i fixed it. & this is what i got
Spoiler:
#dynamic 0x803000

#org @start
lock
faceplayer
applymovement ox5 @move1
waitmovement 0x0
msgbox @1 0x2
applymovement 0x6 @move2
waitmovement 0x0
hidesprite 0x4
hidesprite 0x5
setflag 0x200
setflag 0x201
release
end

#org @move1
#raw 0x80
#raw 0xFE

#org @move2
#raw 0x81
#raw 0xFE

#org @1
= !!!
now how do i make it so that when i enter the town the 2 pkmn are Alerted by me & run off. i got the apply & waitmovement. do i need to take out the msgbox or do i not need it? i dont know what to use. also im a bit confused in which #s i' adding in script offset, do i add the ones from free space finder & also what im i supode to do with the #s from when i compile the script.
Umm..you just place the script tiles where you want them and the two pokemon should run off. Taking out the msgbox is unnecessary.
When you make a script, copy the free offset FSF gives you and put it after the #dynamic 0x
Compile the script. The offset you get after compiling (the first one), is the one you're going to insert into AM.
Also..

Code:
#org @start
checkflag 0x200
if 0x1 goto @done
applymovement ox5 @move1
waitmovement 0x0
msgbox @1 0x2
applymovement 0x6 @move2
waitmovement 0x0
hidesprite 0x4
hidesprite 0x5
setflag 0x200
release
end

#org @done
release
end

#org @move1
#raw 0x80
#raw 0xFE

#org @move2
#raw 0x81
#raw 0xFE

#org @1
= !!!
You don't need two setflags. One should be enough, just remember to set the person ID of both the OWs to 0200.
And also, checkflag so that the script won't repeat again. It checks wether flag 0x200 has been set and next time you step on the script tile, it'll just release you.
__________________

Last edited by Binary; June 12th, 2010 at 09:52 PM.
  #4099    
Old June 12th, 2010, 10:05 PM
locoroco's Avatar
locoroco
Ginga Densetsu Weed ANIME PWNS
 
Join Date: Oct 2009
Location: Manati, Puerto rico
Age: 18
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to locoroco
well unfortunately no i didnt get the running shoes well im using a rom base maybe thats the problem but now i have a new problem

#dynamic 0x800000

#org @start
checkflag 0x1003
if 0x0 goto @done
Checkflag 0x1004
if 0x1 goto @done2
movesprite 0x1 0x6 0x13
waitmovement 0x1
applymovement 0x1 @move
waitmovement 0x1
msgbox @1 0x6
applymovement 0x1 @move1
waitmovement 0x1
applymovement 0xff @move2
waitmovement 0xff
movesprite 0x1 0x0e 0x12
waitmovement 0x2
applymovement 0x2 @move3
waitmovement 0x2
msgbox @2 0x6
applymovement 0x1 @move4
waitmovement 0x1
msgbox @3 0x6
applymovement 0xff @move5
waitmovement 0xff
warp 0x5 0x1 0xff 0x1 0x4
Setflag 0x1004
release
end

#org @done
Release
end

#org @done2
Release
end

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xfe

#org @1
= Knock,Knock

#org @move1
#raw 0x10
#raw 0x01
#raw 0xfe

#org @move2
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xfe

#org @move3
#raw 0x10
#raw 0xfe

#org @2
= Policeman:Are you the family of\nProf.Rowan?\pMom:Why yes what can i\nhelp you with?\pPoliceman:I came here to inform you\nsome very bads news\pMom:What may they be?\pPoliceman:Well it seems that you're\nhusband has been kidnapped\por even worse murdered\pMom:You can be serious!\pPoliceman:Why yes it seems he left this\nfor his son.

#org @move4
#raw 0x03
#raw 0xfe

#org @3
= You must be his son\nhe left this.Apparently he\pleft this for you.\pDear son this maybe the last\ntime you see me.\pI will miss you. But dont get\nhurt to badly because of me,\pit will make it worse. I need\nyou to catch a pokemon\ptrain it with love and respect\nand maybe we will see\peach other again. Be strong\nand brave and find me.\pI hope to see you again\pThere is bloodstains on the\nnote\pPoliceman:The bloodstains point\nto murder but the note points\pto kidnap lets hope\nits kidnap maybe we\pwe can reason with the\nkidnappers.\p\v\h01:My dad can't be dead\nhe can't *sob*.\pPoliceman:I'm sorry until we get\nmore clues we have\pno ideas of where\nhe is.For now there is\pnothing we can do.

#org @move5
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xfe

i cant seem to be able to movesprite everything works exept the movesprite n this script. and also i've set my mom to hidden she just walks under the floor in 1 of them and in the other the game doesnt boot so i guess is not that either and the running shoes ims tarting to think that its the rom base but i guess i gotta fix it later thx in adavanced

Edit1:i g forgot to say that i have the sprites in the trees to hide them until the movesprite command actually moves it to where the applymovement script takes over
__________________
This signature has been disabled.
Signature needs to be kept to a 600px x 400px area. Your long line of text pushes it over the limit. Put a few enters there and you will be able to get it inside the limits.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

Last edited by locoroco; June 12th, 2010 at 10:34 PM. Reason: Your double post has been automatically merged.
  #4100    
Old June 12th, 2010, 10:07 PM
qaz015393's Avatar
qaz015393
pokemon revenge developer
 
Join Date: Aug 2009
Age: 24
Gender: Male
thanks binary. one more qestion: after i compile it says enter offset for main goto. im confused what 2 put.

Last edited by qaz015393; June 12th, 2010 at 10:12 PM.
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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:19 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.