The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Emulation & ROM Hacking The center for the community emulation scene. Come and discuss all things emulation and develop your own hacks!



Reply
Thread Tools
  #2476  
Unread November 13th, 2009, 05:11 PM
Haku.'s Avatar
Haku.
(FLAME)...H....A...K..U
 
Join Date: Jan 2008
Location: Singapore :D
Gender: Male
Nature: Quiet
Send a message via Windows Live Messenger to Haku.
Quote:
Originally Posted by Likewise View Post
It keeps saying Type Mismatch on line 8, but I checked the tutorials and that's how give item is supposed to go right?

...
You forgot to put #org @movey1..
__________________

Reply With Quote
  #2477  
Unread November 14th, 2009, 03:47 AM
Hacker42r/sT's Avatar
Hacker42r/sT
Beginning Trainer
 
Join Date: May 2005
Location: USA
Age: 23
Gender: Male
Nature: Relaxed
im hacking fire red. and i wanted to know how i could get rid of the script that professor oak gives you the national pokedex in, and just have him give you the national pokedex in the beginning.
__________________
i play in a band http://www.myspace.com/elyson
Reply With Quote
  #2478  
Unread November 14th, 2009, 04:32 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 19
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
switch the flags. so switch the pokedex flag with the national dex flag.
__________________
~Paired to Full Metal
Reply With Quote
  #2479  
Unread November 14th, 2009, 07:59 AM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Lemme say this.
Get rid of Nintendo's level script and make your own for professor.
__________________

Previous Sign
Reply With Quote
  #2480  
Unread November 14th, 2009, 09:56 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by NarutoActor View Post
switch the flags. so switch the pokedex flag with the national dex flag.
Before posting that, you should have known there isn't really a National Dex flag. A special is used to activate it.
__________________
Reply With Quote
  #2481  
Unread November 14th, 2009, 12:05 PM
Angry Ampharos's Avatar
Angry Ampharos
Beginning Trainer
 
Join Date: Mar 2009
Gender:
lock
faceplayer
checkflag 0x1300
if 0x01 goto $done
message $talk
$talk 1 =Mommy won't let me keep Fluffy...\nPlease take it...
givepokemon 360 5 0
boxset 6
setflag 0x1300
release
end

#org $done
message $go
$go 1 =How is Fluffy doing?
boxset 6
release
end

The script is meant to display the first text. give the Pokemon and then whenever you talk to the person again it should display the second amount of text.

At the moment what it does is just display the second script. This also triggers a change in another script.

I use pokescript.
Reply With Quote
  #2482  
Unread November 18th, 2009, 06:50 PM
Jm20's Avatar
Jm20
A.k.a. Zig :-)
 
Join Date: Sep 2009
Location: The Netherlands
Age: 20
Gender: Male
Hi, I've got two issues:

- On route 7, as a test, I added two person events. When I entered the map, only one person event was present. Walking all the way up the map, made the other person event appear. However, the script was the same for both events (namely the script of the first dude). What is happening here? (To be clear; route 7 didn't had any person events before I added these.) what the heck, doesn't matter actually
On other maps however I didn't have this problem yet, so it isn't very urgent.

- I am trying to make persons appear and disappear. Can I insert any random Person ID nr. into the Person-ID-nr.-box in Amap? Or should it be an empty flag/variable/thingy?

Last edited by Jm20; November 18th, 2009 at 07:23 PM.
Reply With Quote
  #2483  
Unread November 18th, 2009, 09:50 PM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 18
Gender: Male
Nature: Modest
Quote:
Originally Posted by Jm20 View Post
Hi, I've got two issues:

- On route 7, as a test, I added two person events. When I entered the map, only one person event was present. Walking all the way up the map, made the other person event appear. However, the script was the same for both events (namely the script of the first dude). What is happening here? (To be clear; route 7 didn't had any person events before I added these.) what the heck, doesn't matter actually
On other maps however I didn't have this problem yet, so it isn't very urgent.

- I am trying to make persons appear and disappear. Can I insert any random Person ID nr. into the Person-ID-nr.-box in Amap? Or should it be an empty flag/variable/thingy?
Person ID must be the flag you set.

Flags are between 0x1 and 0x3FFF. Anything after is variables. So make the person, use hidesprite and the person event number and set a flag which is the person ID. 0x1000 and after are flags that you should use.
__________________
Pokémon Stardrop
Reply With Quote
  #2484  
Unread November 19th, 2009, 06:42 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
I'm trying to make a simple warp script. You step on the tile and you're somewhere else. I'm using

warp 0x4 0x1 0xFF 0x06 0x06

As the script. However, when I step on the tile, weird things happen. If I do not assign the 0003 and the 4050 then everything goes black the minute I step on it. If I do assign those, then the screen flashes black indefinitely. Does anyone know the problem?
__________________





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.
Reply With Quote
  #2485  
Unread November 19th, 2009, 06:56 PM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Post the complete script here please...
Warp one doesn't seem to be wrong... by the way you don't have to use 0s in 06 and 006.
__________________

Previous Sign
Reply With Quote
  #2486  
Unread November 19th, 2009, 07:03 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by Ash493 View Post
Post the complete script here please...
Warp one doesn't seem to be wrong... by the way you don't have to use 0s in 06 and 006.
warp 0x4 0x1 0xFF 0x06 0x06
end

I've tried it without the 0s in front of the 6s but it doesn't make a difference
__________________





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.
Reply With Quote
  #2487  
Unread November 19th, 2009, 07:25 PM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Try this.
#dynamic 0x800000
#org @start
lock
setvar 0x4050 0x1
0x4 0x1 0xFF 0x06 0x06
release
end
__________________

Previous Sign
Reply With Quote
  #2488  
Unread November 19th, 2009, 08:08 PM
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by Ash493 View Post
Try this.
#dynamic 0x800000
#org @start
lock
setvar 0x4050 0x1
0x4 0x1 0xFF 0x06 0x06
release
end
I fixed it, thanks for your help. The way I fixed it is that I changed the dimensions, and somehow it worked

Anyway, would you mind telling me what the setvar does in the script? I haven't really done much work with vars
__________________





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.
Reply With Quote
  #2489  
Unread November 19th, 2009, 08:41 PM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Quote:
Originally Posted by Samike360 View Post
Anyway, would you mind telling me what the setvar does in the script? I haven't really done much work with vars
It just removes the tile script
So when you fill the var number bar with 4050 and use setvar 0x4050 0x1 the tile script will be erased, it has similar function as flags when ya wanna erase person
__________________

Previous Sign
Reply With Quote
  #2490  
Unread November 19th, 2009, 09:14 PM
Jm20's Avatar
Jm20
A.k.a. Zig :-)
 
Join Date: Sep 2009
Location: The Netherlands
Age: 20
Gender: Male
Quote:
Originally Posted by Pokepal17 View Post
Person ID must be the flag you set.

Flags are between 0x1 and 0x3FFF. Anything after is variables. So make the person, use hidesprite and the person event number and set a flag which is the person ID. 0x1000 and after are flags that you should use.
Thanks alot! So it is normal that my person only disappears once the player begins to move (after I've run the setflag [peopleid] script), and therefore I have to use hidesprite. Right? Anyway, I think I understand! :p
Reply With Quote
  #2491  
Unread November 19th, 2009, 11:55 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 19
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Okay, I tryed everything, but I can't get this level script to work it's a level script in players room, and when I try it in the game the screen just gose black.

here is the script
Spoiler:

'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements


here is the maps script
Spoiler:

'---------------
#org 0x168CA3
#raw 0x3
#raw pointer 0x871A5BC
#raw 0x4
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
__________________
~Paired to Full Metal
Reply With Quote
  #2492  
Unread November 20th, 2009, 01:55 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 18
Gender: Male
Nature: Modest
Quote:
Originally Posted by NarutoActor View Post
Okay, I tryed everything, but I can't get this level script to work it's a level script in players room, and when I try it in the game the screen just gose black.

here is the script
Spoiler:

'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements


here is the maps script
Spoiler:

'---------------
#org 0x168CA3
#raw 0x2
#raw pointer 0x871A5BC
#raw 0x4
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
Use a type 2 level script instead of a type 3 level script. Changes in script.
__________________
Pokémon Stardrop
Reply With Quote
  #2493  
Unread November 20th, 2009, 02:03 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 19
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Pokepal17 View Post
Use a type 2 level script instead of a type 3 level script. Changes in script.
I just did what you said, and it still dosen't work. I get the same problem as before a black screen, after the intro.
__________________
~Paired to Full Metal
Reply With Quote
  #2494  
Unread November 20th, 2009, 02:05 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 18
Gender: Male
Nature: Modest
Quote:
Originally Posted by NarutoActor View Post
I just did what you said, and it still dosen't work. I get the same problem as before a black screen, after the intro.
I see what you've done. Here's the fix.

---------------
#org 0x168CA3
#raw 0x2
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

And BTW, use your own offsets for the beginning of the level script, you can overwrite important data if you don't.
__________________
Pokémon Stardrop
Reply With Quote
  #2495  
Unread November 22nd, 2009, 04:35 AM
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Game: Fire Red
Type: Movement/Script
Editor: XSE
Script:
Spoiler:
#dynamic 0x800000



#org @start

applymovement 0xFF @move

release

end



#org @move

#raw 0x10

#raw 0xFE


In the Advance Map, I entered 0003 in the unknown, and 4050 in the Var Number.
All this does is freeze the character.
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.

Reply With Quote
  #2496  
Unread November 22nd, 2009, 04:43 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 19
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
you need to add a waitmovement 0x0
__________________
~Paired to Full Metal
Reply With Quote
  #2497  
Unread November 22nd, 2009, 04:49 AM
NatureKeeper's Avatar
NatureKeeper
I am here for Craftrum.
 
Join Date: Jun 2008
Location: Planet Earth
Age: 15
Gender: Male
Nature: Lonely
Send a message via Windows Live Messenger to NatureKeeper Send a message via Skype™ to NatureKeeper
Quote:
Originally Posted by Larvitar170 View Post
Game: Fire Red
Type: Movement/Script
Editor: XSE
Script:
Spoiler:
#dynamic 0x800000

#org @start
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @move
#raw 0x10
#raw 0xFE


In the Advance Map, I entered 0003 in the unknown, and 4050 in the Var Number.
All this does is freeze the character.
I Fixed it. Try it now. :D I am positive it will work.
__________________



Currently Active At: Video Gaming

Now playing: Minecraft











- - -
Reply With Quote
  #2498  
Unread November 22nd, 2009, 05:00 AM
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Quote:
Originally Posted by NatureKeeper View Post
I Fixed it. Try it now. :D I am positive it will work.
I tried it, and it still didn't work. I made sure it was entered exactly as you had, then copied and pasted after that didn't work. Could it be that I'm not giving it enough space?

EDIT: It is my Rom. I tried it in another ROM, and it worked fine.
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.


Last edited by Larvitar170; November 22nd, 2009 at 05:27 AM. Reason: Solved.
Reply With Quote
  #2499  
Unread November 22nd, 2009, 09:17 AM
sky_queen3's Avatar
sky_queen3
Minusle Fangirl. ;)
 
Join Date: Feb 2009
Location: Australia
Age: 23
Gender: Female
Nature: Naive
I want a bit of help please.

See this youtube clip
http://www.youtube.com/watch?v=RWg1MVCcAMg

The Eevee has a box appear above it's head, how do they do that? (Or the closest thing in Fire Red.)
__________________
This space for rent


Last edited by sky_queen3; November 22nd, 2009 at 09:25 AM.
Reply With Quote
  #2500  
Unread November 22nd, 2009, 10:05 AM
Ash493's Avatar
Ash493
Destiny cannot be changed...
 
Join Date: Jul 2008
Location: Tachiwaki City, Isshu
Age: 20
Gender: Male
Nature: Calm
Quote:
Originally Posted by sky_queen3 View Post
The Eevee has a box appear above it's head, how do they do that? (Or the closest thing in Fire Red.)
applymovement and one of movements needs to be #raw 0x66
__________________

Previous Sign
Reply With Quote
Reply
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

Forum Jump


All times are UTC. The time now is 09:47 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.