The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Help Thread Quick Questions & Answers

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Closed Thread
 
Thread Tools
  #26   Link to this post, but load the entire thread.  
Old September 11th, 2014 (5:07 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Whenever I insert a custom battle background into the game and after inserting the RAW file, I get this:

http: //imgur .com/EX67vgi, kV37gSu ((I haven't changed the palette yet) Not allowed to post links yet)

However, the game solves itself after playing a move animation. It's just a tad annoying with that appearing whenever the screen is refreshed. It will not solve itself if no animations are on, and the white box in the middle of the screen shows the text on the textbox below. I inserted these at Hex F00000 and, after the 1060 bytes of space needed for the tileset (I know it's a lot) the RAW at F01061. I've already expanded the ROM, and inserting them at 01000000 and 01001061 respectively does the same thing, too.

Lastly, I did make backups, so if the solution is to try, try again, then please say so.
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
  #27   Link to this post, but load the entire thread.  
Old September 11th, 2014 (5:09 PM).
Joexv's Avatar
Joexv Joexv is offline
ManMadeOfGouda
joexv.github.io
 
Join Date: Oct 2012
Location: Oregon
Age: 25
Gender: Male
Nature: Sassy
Posts: 1,035
Quote:
Originally Posted by GoGoJJTech View Post
Well when you first did it, you repointed the raw and tilesets. So it's not in the same old place, it's in the new ones you pointed to. Try to find them again by deleting the unlz files for your rom then reloading. It'll scan again and you'll be able to find all the stuff in your rom and you can get back to editing. Just make sure to keep track of your stuff and offsets next time, no matter what you're doing.
It worked but so far I have yet tofind the location of the raw file for it and thats gonna be super hard to find. But thatk you!
__________________
New living flesh vessel who dis?
  #28   Link to this post, but load the entire thread.  
Old September 11th, 2014 (7:11 PM).
lilroosterbutt lilroosterbutt is offline
 
Join Date: Sep 2010
Gender: Male
Posts: 16
Hey, I have a few questions concerning Tileset palette editing:

1. Is there a difference between indoor Tileset Palettes and Outdoor Palettes (1-12)? As in, would editing Palette 1 for outdoor Tileset affect Palette 1 for indoor Tileset?

2. Some palettes consist of just 2 colors (ie Palette 6 and 9-11 for indoor tilesets, where there are black blocks with another color for outline). They're used to make some blocks, so could you please help me understand their function/purpose? Would editing the palettes mess anything up?

3. Are there any Tileset palettes I should avoid editing? Any tips are appreciated!

4. I remember reading somewhere that there are certain blocks I shouldn't replace because they're used for animations(?) I remember it was mentioned that they were ones at the end of certain tilesets. Which ones were they again?

Thanks so much for your help! Google wasn't very helpful and searching through these forms yielded too many unneeded results :3
  #29   Link to this post, but load the entire thread.  
Old September 11th, 2014 (8:40 PM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 30
Gender: Male
Nature: Bold
Posts: 870
Quote:
Originally Posted by lilroosterbutt View Post
Hey, I have a few questions concerning Tileset palette editing:

1. Is there a difference between indoor Tileset Palettes and Outdoor Palettes (1-12)? As in, would editing Palette 1 for outdoor Tileset affect Palette 1 for indoor Tileset?

2. Some palettes consist of just 2 colors (ie Palette 6 and 9-11 for indoor tilesets, where there are black blocks with another color for outline). They're used to make some blocks, so could you please help me understand their function/purpose? Would editing the palettes mess anything up?

3. Are there any Tileset palettes I should avoid editing? Any tips are appreciated!

4. I remember reading somewhere that there are certain blocks I shouldn't replace because they're used for animations(?) I remember it was mentioned that they were ones at the end of certain tilesets. Which ones were they again?

Thanks so much for your help! Google wasn't very helpful and searching through these forms yielded too many unneeded results :3

1: There is no difference. If you're using the same tileset for the inside and outside of a building, for instance:

If you're using Tileset 19 for your inside and outside maps of a building, if you change the palette of ANY palette 0-12 it will change the palette on both maps. Palettes aren't tied to maps, they're tied to the tilesets themselves.

2 and 3: No editing these palettes wouldn't mess anything up. They are just 2 colors probably because they aren't even used in the map blocks to begin with. If they are, it's probably like some black and white palette and the black tile was used for a down tile so that the map had a black border (like if you were inside a building and the borders of the house are black). It depends on what ROM you're using too. I'm not certain on FR but I believe the first 6 palettes are for Tileset 1 (refer to image above) and 7-12 are editable. For Ruby, the first 5 palettes are for Tileset 1 with 6-11 editable and 12 not being editable unless you apply a patch that allows it (I don't have a link but I remember seeing this once) and also for EM ... Palettes 1-5 are editable for Tileset 1 and 6-12 are for Tileset 2. It's free reign so go nuts, editing palettes won't mess up your rom. If you're using 1.92 make sure to click Write palette changes to rom.

4. You mean tiles. Blocks are those 16x16 squares you can draw on the map. Tiles are the 8x8 squares on the image that you select to make the blocks. Anyways.. They're talking about tiles like this:
Spoiler:


So on the bottom you see tiles that are lined up horizontally. This is just the set up for the animated tiles. In that example I show you the flower tiles correctly positioned as you would normally see it and how you'd add it into a block but for the tileset and for it to be animated, the setup of how it is right now is necessary to be animated. To learn more about animating tiles, download Animeditor and look at a animation tutorial or just look at this one: CLICK ME
__________________
Retired. Thank you guys for a wonderful five years.
  #30   Link to this post, but load the entire thread.  
Old September 13th, 2014 (12:04 AM).
Sniper's Avatar
Sniper Sniper is offline
ふゆかい
 
Join Date: Nov 2013
Location: Philippines
Gender: Male
Nature: Quiet
Posts: 1,412
Can someone tell me how to change FR text boxes? :(
__________________


  #31   Link to this post, but load the entire thread.  
Old September 13th, 2014 (3:41 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is offline
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
Quote:
Originally Posted by Flower View Post
Can someone tell me how to change FR text boxes? :(
NSE Classic (and maybe NSE 2, I don't know) have the textbox graphics bookmarked, so you can just edit them in the tool or export them, edit them in your graphic editor of choice and reimport afterwards.
__________________
  #32   Link to this post, but load the entire thread.  
Old September 13th, 2014 (4:45 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by BluRose View Post
Whenever I insert a custom battle background into the game and after inserting the RAW file, I get this:

http: //imgur .com/EX67vgi, kV37gSu ((I haven't changed the palette yet) Not allowed to post links yet)

However, the game solves itself after playing a move animation. It's just a tad annoying with that appearing whenever the screen is refreshed. It will not solve itself if no animations are on, and the white box in the middle of the screen shows the text on the textbox below. I inserted these at Hex F00000 and, after the 1060 bytes of space needed for the tileset (I know it's a lot) the RAW at F01061. I've already expanded the ROM, and inserting them at 01000000 and 01001061 respectively does the same thing, too.

Lastly, I did make backups, so if the solution is to try, try again, then please say so.
NEVERMIND

All I had to do was insert it right after the music table.
  #33   Link to this post, but load the entire thread.  
Old September 13th, 2014 (4:13 PM).
DJTiki's Avatar
DJTiki DJTiki is offline
absolutely should have never given me the internet
 
Join Date: Mar 2014
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 1,256
Can anyone enlighten me on having multiple versions of the HP Bar? For one place, it'll be this, or for another map, it'll be another Health Bar.
  #34   Link to this post, but load the entire thread.  
Old September 13th, 2014 (5:41 PM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
 
Join Date: Nov 2012
Location: Earth
Age: 24
Gender: Female
Nature: Jolly
Posts: 2,475
Quote:
Originally Posted by DJTiKi View Post
Can anyone enlighten me on having multiple versions of the HP Bar? For one place, it'll be this, or for another map, it'll be another Health Bar.
Well that'd obviously require asm to load different HP Bars for each location (I.E a byte is set if you're in region 2, and it loads that byte and if you're in region 2 it loads HP bar 2)
That'd be something you'd have to research yourself since nobody has really took the time to do that lol
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue
  #35   Link to this post, but load the entire thread.  
Old September 14th, 2014 (8:21 PM).
U.Flame's Avatar
U.Flame U.Flame is offline
Maker of Short Games
 
Join Date: Jun 2008
Location: Unknown
Age: 27
Gender: Male
Nature: Jolly
Posts: 1,322
I've been starting scripting for a while. Still not really good, but I'm working on it. So here's one problem I'm currently facing. Where is the script where your mother drags you to the TV after setting the clock? I've checked her person script. the script tiles, the clock script, and the level scripts. Can't find it.
__________________
The more you learn about something, the more you realize just how much you don't know. I've shelved my more ambitious ideas in favor of smaller, more feasible projects and contributions. While I still have an ongoing project, and still intend to experiment with improving Gen 3's multiplayer, it's been much less stressful doing smaller things, like entries for Anthroyd's MAGM contests.

Of which you can check out here:
Naillevaihcam
Magical Altering Gym Menagerie
  #36   Link to this post, but load the entire thread.  
Old September 15th, 2014 (12:32 AM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 30
Gender: Male
Nature: Bold
Posts: 870
Quote:
Originally Posted by U.Flame View Post
I've been starting scripting for a while. Still not really good, but I'm working on it. So here's one problem I'm currently facing. Where is the script where your mother drags you to the TV after setting the clock? I've checked her person script. the script tiles, the clock script, and the level scripts. Can't find it.
So it's a level script. You can easily identify it as such by the fact that when the player warps, it INSTANTLY goes to a script without moving. This is done by level scripts. You didn't check the level scripts hard enough. It's somewhere ... really, it is. But that's not the point. Why do you even want to see this script? If there is something special you want from the script, as for it here instead and delete all those level scripts and just make your own.
__________________
Retired. Thank you guys for a wonderful five years.
  #37   Link to this post, but load the entire thread.  
Old September 15th, 2014 (12:49 PM).
U.Flame's Avatar
U.Flame U.Flame is offline
Maker of Short Games
 
Join Date: Jun 2008
Location: Unknown
Age: 27
Gender: Male
Nature: Jolly
Posts: 1,322
Quote:
Originally Posted by Le pug View Post
So it's a level script. You can easily identify it as such by the fact that when the player warps, it INSTANTLY goes to a script without moving. This is done by level scripts. You didn't check the level scripts hard enough. It's somewhere ... really, it is. But that's not the point. Why do you even want to see this script? If there is something special you want from the script, as for it here instead and delete all those level scripts and just make your own.
I could do that, but I'm not confident enough in my scripting skill to delete anything without knowing the consequences. Maybe in the future, but for now I'm editing existing scripts.

I took another look at the level scripts and still couldn't find anything. So I tested it by deleting level scripts one by one(on a backup of course) and found that deleting the 3rd level script did indeed stop the TV event that takes place right after the clock event, among other things. Here's what it looks like:

'---------------
#org 0x1526B2
lockall
setvar 0x8004 0x1
setvar 0x8005 0x0
goto 0x81B68E6

'---------------
#org 0x1B68E6
msgbox 0x81723B9 0x4 '"MOM: See, [player]?\nIsn't it nice..."
applymovement 0x8004 0x81A07C9
waitmovement 0x0
compare 0x8005 0x0
if 0x1 call 0x81B692F
compare 0x8005 0x1
if 0x1 call 0x81B693A
msgbox 0x81723E3 0x4 '"The mover's POKéMON do all the wor..."
closeonkeypress
setvar 0x4092 0x4
applymovement 0xFF 0x81B6945
applymovement 0x8004 0x81A07D1
waitmovement 0x0
releaseall
end

'---------------
#org 0x1B692F
applymovement 0xFF 0x81A07D3
waitmovement 0x0
return

'---------------
#org 0x1B693A
applymovement 0xFF 0x81A07CF
waitmovement 0x0
return


'---------
' Strings
'---------
#org 0x1723B9
= MOM: See, [player]?\nIsn't it nice in here, too?

#org 0x1723E3
= The mover's POKéMON do all the work\nof moving us in and cleaning up after.\lThis is so convenient!\p[player], your room is upstairs.\nGo check it out, dear!\pDAD bought you a new clock to mark\nour move here.\lDon't forget to set it!


'-----------
' Movements
'-----------
#org 0x1A07C9
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements

#org 0x1B6945
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x1A07D1
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements

#org 0x1A07D3
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements

#org 0x1A07CF
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements

So now that I know where the script is, I need to pinpoint where I want to edit. Thing is, even though I confirmed that the event following the clock event is in this script, I don't see it anywhere. Nowhere on this script has the movement or text of that event. Does it redirect to something else maybe?
__________________
The more you learn about something, the more you realize just how much you don't know. I've shelved my more ambitious ideas in favor of smaller, more feasible projects and contributions. While I still have an ongoing project, and still intend to experiment with improving Gen 3's multiplayer, it's been much less stressful doing smaller things, like entries for Anthroyd's MAGM contests.

Of which you can check out here:
Naillevaihcam
Magical Altering Gym Menagerie
  #38   Link to this post, but load the entire thread.  
Old September 15th, 2014 (6:59 PM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 30
Gender: Male
Nature: Bold
Posts: 870
Quote:
Originally Posted by U.Flame View Post
Spoiler:
I could do that, but I'm not confident enough in my scripting skill to delete anything without knowing the consequences. Maybe in the future, but for now I'm editing existing scripts.

I took another look at the level scripts and still couldn't find anything. So I tested it by deleting level scripts one by one(on a backup of course) and found that deleting the 3rd level script did indeed stop the TV event that takes place right after the clock event, among other things. Here's what it looks like:

'---------------
#org 0x1526B2
lockall
setvar 0x8004 0x1
setvar 0x8005 0x0
goto 0x81B68E6

'---------------
#org 0x1B68E6
msgbox 0x81723B9 0x4 '"MOM: See, [player]?\nIsn't it nice..."
applymovement 0x8004 0x81A07C9
waitmovement 0x0
compare 0x8005 0x0
if 0x1 call 0x81B692F
compare 0x8005 0x1
if 0x1 call 0x81B693A
msgbox 0x81723E3 0x4 '"The mover's POKéMON do all the wor..."
closeonkeypress
setvar 0x4092 0x4
applymovement 0xFF 0x81B6945
applymovement 0x8004 0x81A07D1
waitmovement 0x0
releaseall
end

'---------------
#org 0x1B692F
applymovement 0xFF 0x81A07D3
waitmovement 0x0
return

'---------------
#org 0x1B693A
applymovement 0xFF 0x81A07CF
waitmovement 0x0
return


'---------
' Strings
'---------
#org 0x1723B9
= MOM: See, [player]?\nIsn't it nice in here, too?

#org 0x1723E3
= The mover's POKéMON do all the work\nof moving us in and cleaning up after.\lThis is so convenient!\p[player], your room is upstairs.\nGo check it out, dear!\pDAD bought you a new clock to mark\nour move here.\lDon't forget to set it!


'-----------
' Movements
'-----------
#org 0x1A07C9
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements

#org 0x1B6945
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x1A07D1
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements

#org 0x1A07D3
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements

#org 0x1A07CF
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements

So now that I know where the script is, I need to pinpoint where I want to edit. Thing is, even though I confirmed that the event following the clock event is in this script, I don't see it anywhere. Nowhere on this script has the movement or text of that event. Does it redirect to something else maybe?
Well if you know it's in this script, it's simple as it's one of the two call commands.
"not confident enough in my scripting skill to delete anything without knowing the consequences" what rom do you hack? You can delete every level script if you wanted to... there are some patches where all the scripts are removed and their old space filled with FF or 00. It's 100% safe to delete level scripts and script tiles etc
__________________
Retired. Thank you guys for a wonderful five years.
  #39   Link to this post, but load the entire thread.  
Old September 15th, 2014 (7:19 PM).
U.Flame's Avatar
U.Flame U.Flame is offline
Maker of Short Games
 
Join Date: Jun 2008
Location: Unknown
Age: 27
Gender: Male
Nature: Jolly
Posts: 1,322
Quote:
Originally Posted by Le pug View Post
Well if you know it's in this script, it's simple as it's one of the two call commands.
"not confident enough in my scripting skill to delete anything without knowing the consequences" what rom do you hack? You can delete every level script if you wanted to... there are some patches where all the scripts are removed and their old space filled with FF or 00. It's 100% safe to delete level scripts and script tiles etc
The things it calls to are a simple movement step, not the events I'm looking for.
What I mean by lacking confidence is that I'm bad at making scripts from scratch. It's easier and manageable to take the structure of an existing script and change what I want changed. Existing scripts have proper structure and acts as training wheels I can lean on when I don't know how to do what they do. Thing about that is existing scripts use flags and effects that trigger the others. If I get rid of one without knowing the consequences, I risk making any others nonfunctional. So I keep what I don't know as is. That's why I want to find the TV script and edit that rather than make my own. The clock script already leads to it, so I have to go from there. The problem is finding the thing.
__________________
The more you learn about something, the more you realize just how much you don't know. I've shelved my more ambitious ideas in favor of smaller, more feasible projects and contributions. While I still have an ongoing project, and still intend to experiment with improving Gen 3's multiplayer, it's been much less stressful doing smaller things, like entries for Anthroyd's MAGM contests.

Of which you can check out here:
Naillevaihcam
Magical Altering Gym Menagerie
  #40   Link to this post, but load the entire thread.  
Old September 16th, 2014 (1:03 AM).
Percy's Avatar
Percy Percy is offline
 
Join Date: Sep 2014
Location: Asia
Gender: Male
Nature: Quiet
Posts: 3,045
Can anyone show me how to use the Yes/No box in script?

Spoiler:
Zolt, if you're reading this, I just want to see if your method is like the method that is appopriate for XSE 1.1.1. :)
__________________
i don't want to have a signature
  #41   Link to this post, but load the entire thread.  
Old September 16th, 2014 (1:07 AM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
You can contact me in PC's discord server...
 
Join Date: May 2007
Age: 32
Gender: Male
Nature: Careful
Posts: 8,579
Quote:
Originally Posted by BlazikenXY View Post
Can anyone show me how to use the Yes/No box in script?

Spoiler:
Zolt, if you're reading this, I just want to see if your method is like the method that is appopriate for XSE 1.1.1. :)
Code:
...
msgbox @1 0x5
compare lastresult 0x1
if 0x1 goto @yes
compare lastresult 0x0
if 0x1 goto @no
...

#org @yes
msgbox @2 0x6
...

#org @no
msgbox @3 0x6
...

#org @1
= Yes, or no?

#org @2
= You said yes!

#org @3
= You said no...
__________________

  #42   Link to this post, but load the entire thread.  
Old September 16th, 2014 (1:11 AM).
TheCurryGuy's Avatar
TheCurryGuy TheCurryGuy is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 105
Quote:
Originally Posted by BlazikenXY View Post
Can anyone show me how to use the Yes/No box in script?

Spoiler:
Zolt, if you're reading this, I just want to see if your method is like the method that is appopriate for XSE 1.1.1. :)
Check deigoisawesomes tutorial here
__________________


currently working on


  #43   Link to this post, but load the entire thread.  
Old September 16th, 2014 (1:16 AM).
Percy's Avatar
Percy Percy is offline
 
Join Date: Sep 2014
Location: Asia
Gender: Male
Nature: Quiet
Posts: 3,045
Quote:
Originally Posted by destinedjagold View Post
Code:
...
msgbox @1 0x5
compare lastresult 0x1
if 0x1 goto @yes
compare lastresult 0x0
if 0x1 goto @no
...

#org @yes
msgbox @2 0x6
...

#org @no
msgbox @3 0x6
...

#org @1
= Yes, or no?

#org @2
= You said yes!

#org @3
= You said no...
Thanks, jagold!

Quote:
Originally Posted by TheCurryGuy View Post
Check deigoisawesomes tutorial here
I remember not seeing it there, or I'm just lazy to search? <.<
__________________
i don't want to have a signature
  #44   Link to this post, but load the entire thread.  
Old September 16th, 2014 (1:17 AM).
JosefigGaming's Avatar
JosefigGaming JosefigGaming is offline
 
Join Date: May 2013
Location: Portugal
Age: 23
Gender: Male
Posts: 287
Quote:
Originally Posted by U.Flame View Post
The things it calls to are a simple movement step, not the events I'm looking for.
What I mean by lacking confidence is that I'm bad at making scripts from scratch. It's easier and manageable to take the structure of an existing script and change what I want changed. Existing scripts have proper structure and acts as training wheels I can lean on when I don't know how to do what they do. Thing about that is existing scripts use flags and effects that trigger the others. If I get rid of one without knowing the consequences, I risk making any others nonfunctional. So I keep what I don't know as is. That's why I want to find the TV script and edit that rather than make my own. The clock script already leads to it, so I have to go from there. The problem is finding the thing.
goto 0x81B68E6

that's in the script. I fyou open that in xse, chances are you'll get the script you're looking for.
Also, learn how to script from scratch, it's thw whole point of scripting anyways, also gamefreak's scripting is messy and has a lot of unnecessary stuff, if you don't make your scripts from scratch, your hack will be awful like DR series
Quote:
Originally Posted by BlazikenXY View Post
Can anyone show me how to use the Yes/No box in script?

Spoiler:
Zolt, if you're reading this, I just want to see if your method is like the method that is appopriate for XSE 1.1.1. :)
I'm assuming you're using XSE, if not, you're doing it wrong.

Code:
#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x5
compare lastresult 0x1
if 0x0 goto @no
if 0x1 goto @yes

#org @no
msgbox @2 0x6
release
end

#org @yes
msgbox @3 0x6
release
end

#org @1
Yes or No?

#org @2
No.

#org @3
Yes.
__________________
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
  #45   Link to this post, but load the entire thread.  
Old September 16th, 2014 (8:05 AM). Edited September 16th, 2014 by U.Flame.
U.Flame's Avatar
U.Flame U.Flame is offline
Maker of Short Games
 
Join Date: Jun 2008
Location: Unknown
Age: 27
Gender: Male
Nature: Jolly
Posts: 1,322
Quote:
Originally Posted by JosefigGaming View Post
goto 0x81B68E6

that's in the script. I fyou open that in xse, chances are you'll get the script you're looking for.
Also, learn how to script from scratch, it's thw whole point of scripting anyways, also gamefreak's scripting is messy and has a lot of unnecessary stuff, if you don't make your scripts from scratch, your hack will be awful like DR series
As you can see, the offset 81B68E6 is the script when you first enter the house. I'm looking for the one when your mother drags you to the TV right after setting your clock. Apparently this level script is what triggers that, but I don't see that part of the script here. I do plan on building my own scripts from scratch eventually, like I said, I'm using existing scripts as training wheels for structure until I can make my own without problems.
__________________
The more you learn about something, the more you realize just how much you don't know. I've shelved my more ambitious ideas in favor of smaller, more feasible projects and contributions. While I still have an ongoing project, and still intend to experiment with improving Gen 3's multiplayer, it's been much less stressful doing smaller things, like entries for Anthroyd's MAGM contests.

Of which you can check out here:
Naillevaihcam
Magical Altering Gym Menagerie
  #46   Link to this post, but load the entire thread.  
Old September 16th, 2014 (2:52 PM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 30
Gender: Male
Nature: Bold
Posts: 870
Quote:
Originally Posted by destinedjagold View Post
Spoiler:
Code:
...
msgbox @1 0x5
compare lastresult 0x1
if 0x1 goto @yes
compare lastresult 0x0
if 0x1 goto @no
...

#org @yes
msgbox @2 0x6
...

#org @no
msgbox @3 0x6
...

#org @1
= Yes, or no?

#org @2
= You said yes!

#org @3
= You said no...
Quote:
Originally Posted by BlazikenXY View Post
Can anyone show me how to use the Yes/No box in script?

Spoiler:
Zolt, if you're reading this, I just want to see if your method is like the method that is appopriate for XSE 1.1.1. :)
Quote:
Originally Posted by JosefigGaming
Other yes no script
You guys are using too much wording.

Code:
#org @event
lock
faceplayer
msgbox @talk 0x5
compare LASTRESULT if 0x1
goto @yesevent
msgbox @no 0x6
release
end

#org @yesevent
msgbox @yes 0x6
release
end

#org @talk
= Want my cheetos?

#org @no
= Your loss, ignoramus!!!

#org @yes
= Hehe, too bad. Sucker!!!
Quote:
Originally Posted by U.Flame View Post
As you can see, the offset 81B68E6 is the script when you first enter the house. I'm looking for the one when your mother drags you to the TV right after setting your clock. Apparently this level script is what triggers that, but I don't see that part of the script here. I do plan on building my own scripts from scratch eventually, like I said, I'm using existing scripts as training wheels for structure until I can make my own without problems.
There are many other scripts in the game why not just look for a different script besides this one that you are wasting too much time on? Go look for something like where the female hero walks to you when you touch her pokeball ... it's the same concept just use 0xFF for the movement.
__________________
Retired. Thank you guys for a wonderful five years.
  #47   Link to this post, but load the entire thread.  
Old September 16th, 2014 (2:58 PM).
Danny0317's Avatar
Danny0317 Danny0317 is offline
Fluorite's back, brah
 
Join Date: Jun 2013
Age: 23
Gender: Male
Nature: Hasty
Posts: 1,067
I really suggest you make your own scripts, right now you say you're not confident in your scripting abilities, so I suggest just making a rom for testing stuff until you get used to scripting and get confident with it. Trust me, it'll be much better.
__________________
  #48   Link to this post, but load the entire thread.  
Old September 16th, 2014 (6:34 PM).
U.Flame's Avatar
U.Flame U.Flame is offline
Maker of Short Games
 
Join Date: Jun 2008
Location: Unknown
Age: 27
Gender: Male
Nature: Jolly
Posts: 1,322
I appreciate the advice, but I think I'm doing fine at the moment. I'm almost ready to script on my own. Just getting through the beginning. The reason I'm looking for the script is simply because the clock script leads right to it without a break.
__________________
The more you learn about something, the more you realize just how much you don't know. I've shelved my more ambitious ideas in favor of smaller, more feasible projects and contributions. While I still have an ongoing project, and still intend to experiment with improving Gen 3's multiplayer, it's been much less stressful doing smaller things, like entries for Anthroyd's MAGM contests.

Of which you can check out here:
Naillevaihcam
Magical Altering Gym Menagerie
  #49   Link to this post, but load the entire thread.  
Old September 16th, 2014 (10:38 PM). Edited September 16th, 2014 by destinedjagold.
destinedjagold's Avatar
destinedjagold destinedjagold is offline
You can contact me in PC's discord server...
 
Join Date: May 2007
Age: 32
Gender: Male
Nature: Careful
Posts: 8,579

Any help? I can't seem to find the correct .dll Sappy needs. Or is there a more updated version of the tool for Windows XP?
(My home PC died, so I couldn't play with music hacking. :/)
__________________

  #50   Link to this post, but load the entire thread.  
Old September 17th, 2014 (2:48 AM).
chrunch chrunch is offline
 
Join Date: Oct 2009
Gender: Male
Posts: 1,343
Quote:
Originally Posted by destinedjagold View Post

Any help? I can't seem to find the correct .dll Sappy needs. Or is there a more updated version of the tool for Windows XP?
(My home PC died, so I couldn't play with music hacking. :/)
Sappy should have an installer that comes with it that has all the needed files (including .dll files). Have you tried running that?
Closed Thread

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
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 GMT -8. The time now is 9:25 AM.