Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Post Reply
 
Thread Tools
  #26    
Old January 16th, 2011, 04:40 AM
hashtag's Avatar
hashtag
the man in black
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0

Advertise here
I was thinking we could maybe get something cool going with this. My thoughts are to maybe move the textbox into the middle of the screen and use a fadescreen for cutscenes. But that's not just it, it'd also be cool if we could find a way for the textbox to disappear and just have the text on top of the fadescreen, y'know?
"i am the hero pokécommunity deserves, but not the one it needs right now"

paired with christos
retired rom hacker
please PM me any moderation requests (keep in mind the 24 hour rule)
  #27    
Old January 16th, 2011, 05:06 AM
looper's Avatar
looper
German Hacker
 
Join Date: Aug 2010
Location: Germany
Gender: Male
Nature: Lonely
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Skype™ to looper
Do you mean like when you dont have any pokémon left?

I guess there is an routine for that, I'll look....

Does anyone know, how to replace Yes/No/Multiple Choice Boxes?
I'm not a god. But Chuck Norris isn't, too.
  #28    
Old January 16th, 2011, 11:53 AM
TheDarkShark
Metal Headed Hacker
 
Join Date: May 2010
Location: Germany
Gender: Male
Nature: Calm
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by looper View Post
Do you mean like when you dont have any pokémon left?

I guess there is an routine for that, I'll look....

Does anyone know, how to replace Yes/No/Multiple Choice Boxes?
yup. The Yes/No-Boxes can be changed with a Text Hack, IDK what else you could mean about it. For the multichoice boxes: There's a header - I think there's a tutorial about its lay-out. I'll add link later.

EDIT: Here it is: pokecommunity.com/ showthread.php?t=165939

Last edited by TheDarkShark; January 16th, 2011 at 12:08 PM.
  #29    
Old January 16th, 2011, 03:40 PM
hashtag's Avatar
hashtag
the man in black
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by looper View Post
Do you mean like when you dont have any pokémon left?

I guess there is an routine for that, I'll look....

Does anyone know, how to replace Yes/No/Multiple Choice Boxes?
Here's one I made: http://thepokemonboard.com/showthrea...iting-Lesson-1
"i am the hero pokécommunity deserves, but not the one it needs right now"

paired with christos
retired rom hacker
please PM me any moderation requests (keep in mind the 24 hour rule)
  #30    
Old January 16th, 2011, 05:51 PM
itari's Avatar
itari
悪魔の妹
Community Supporter
 
Join Date: Mar 2010
Location: 紅魔館
Age: 17
Gender: Female
Nature: Relaxed
Tournaments Joined: 0
Tournaments Won: 0
Wow, I love the discovery of the offset and stuff, I plan on using this! Thanks! :D
  #31    
Old January 18th, 2011, 06:01 AM
altariaking's Avatar
altariaking
Needs NO VMs...
 
Join Date: Dec 2009
Location: Scotland, Lesmahagow
Age: 40
Gender: Male
Nature: Naive
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Windows Live Messenger to altariaking
Quote:
Originally Posted by Manipulation View Post
I was thinking we could maybe get something cool going with this. My thoughts are to maybe move the textbox into the middle of the screen and use a fadescreen for cutscenes. But that's not just it, it'd also be cool if we could find a way for the textbox to disappear and just have the text on top of the fadescreen, y'know?
This is pretty much what I was thinking. It happens when the player is whited out and has to go to the PC/back home, so I don't see why it shouldn't work.
http://www.pokecommunity.com/member.php?u=253113

Last edited by altariaking; January 18th, 2011 at 01:32 PM.
  #32    
Old January 18th, 2011, 07:14 AM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by Manipulation View Post
I was thinking we could maybe get something cool going with this. My thoughts are to maybe move the textbox into the middle of the screen and use a fadescreen for cutscenes. But that's not just it, it'd also be cool if we could find a way for the textbox to disappear and just have the text on top of the fadescreen, y'know?
I've hacked the textbox graphics once, so maybe it could check a variable, and if it's set, it will load a blank textbox graphic, and make it disappear. I'll have to find out where it's loaded again, which won't take long.



  #33    
Old January 18th, 2011, 08:40 AM
Derlo's Avatar
Derlo
Braziliam Hacker!! De Mossoró
 
Join Date: Aug 2007
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Windows Live Messenger to Derlo
Even if you can delete the graphics from the textbox, it will be necessary to use a font that does not have a white background. because even without the textbox is still a white background where the letters appear.

see:



Pokémon
Essence of Light

Comming Soon...
  #34    
Old January 18th, 2011, 08:58 AM
hashtag's Avatar
hashtag
the man in black
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0
We weren't talking about deleting the textbox we're talking about having it 'disappear' for small moments in the game.
"i am the hero pokécommunity deserves, but not the one it needs right now"

paired with christos
retired rom hacker
please PM me any moderation requests (keep in mind the 24 hour rule)
  #35    
Old January 18th, 2011, 04:46 PM
Derlo's Avatar
Derlo
Braziliam Hacker!! De Mossoró
 
Join Date: Aug 2007
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Windows Live Messenger to Derlo
Sorry, it was only one way to show what I meant.
I haked the routine of the textbox to load any graphic I want, when I tried to just do the letters appear (not carrying any graph) which appeared in the image.

But seeing as well, I think the problem with this option in itself, is not the background of the letters. But the routine that carries the letters. That should carry them along to the background where they are written.
Because even increasing the textbox (vertically) these "lines" also increases.

If I get something I'll post here.

And sorry for the horrible english ...
google's fault.



Pokémon
Essence of Light

Comming Soon...
  #36    
Old January 18th, 2011, 07:53 PM
NintendoBoyDX
Togepi
 
Join Date: Jul 2010
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0
You could try taking a look at what goes on in the scripting command for emerald(emerald-only), "hidebox2" or the ruby/sapphire only "hidebox" command.
  #37    
Old January 19th, 2011, 01:06 PM
hashtag's Avatar
hashtag
the man in black
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Tournaments Joined: 0
Tournaments Won: 0
I saw a video of ShinyQuagsire's on Youtube which I believe he's going to post here soon and he's done it ;).
"i am the hero pokécommunity deserves, but not the one it needs right now"

paired with christos
retired rom hacker
please PM me any moderation requests (keep in mind the 24 hour rule)
  #38    
Old January 19th, 2011, 01:16 PM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by Manipulation View Post
I saw a video of ShinyQuagsire's on Youtube which I believe he's going to post here soon and he's done it .
Right as I uploaded it. XD

To insert the hack, compile this code:

Spoiler:

@Place pointer to this routine at 0x150450
@Place the bytes '08 47' at 0x15044A
@Change the textbox offset and the variable offset to what you want.

.align 2
.thumb

main:
cmp r0, #0x0 @This is the normal textbox number.
bne normal @If signpost, leave value alone.
push {r0-r2}
ldr r0, var
bl call_var_load
cmp r0, #0x0
beq normalandpop
pop {r0-r2}
ldr r0, blackpal
b end
normalandpop:
pop {r0-r2}
normal:
ldr r1, normalpal
add r0, r0, r1
b end
end:
ldr r1, return
bx r1

call_var_load:
ldr r1, var_load
bx r1

.align 2

var_load: .word 0x0806E569
var: .word 0x00004052 @Change at will
normalpal: .word 0x08471DEC
blackpal: .word 0x08XXXXXX @Has to end in 0, 2, 4, 8, or C
return: .word 0x0815044D


or use the compiled version:
Code:
00 28 09 D1 07 B4 09 48 00 F0 0B F8 00 28 02 D0 07 BC 08 48 03 E0 07 BC 05 49 40 18 FF E7 06 49 08 47 01 49 08 47 C0 46 69 E5 06 08 XX XX 00 00 EC 1D 47 08 YY YY YY 08 4D 04 15 08
Replace the XX's with the fipped version of the variable, ex: 4052 = 52 40, and the YY's with a pointer to your black pallet.

The black pallet is up to you, but this is the one I use:
Code:
2E 53 00 00 FF 7F F7 5A FF 7F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Just paste that in a hex editor in an offset ending in 0, 2, 4, 8, or C.

In case you didn't see the header in the routine, place pointer to this routine at 0x150450 place the bytes '08 47' at 0x15044A.


If you have any problems, just ask and I'll try to fix them.



  #39    
Old January 20th, 2011, 06:49 AM
looper's Avatar
looper
German Hacker
 
Join Date: Aug 2010
Location: Germany
Gender: Male
Nature: Lonely
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Skype™ to looper
okay..... I meant with the Choice boxes not the texts but the position
I'm not a god. But Chuck Norris isn't, too.
  #40    
Old January 20th, 2011, 07:35 AM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by looper View Post
okay..... I meant with the Choice boxes not the texts but the position
This can be done via script:
Code:
multichoice [xx] [yy] [zz] [aa]
xx: X co-ordinate
yy: Y co-ordinate
zz: Multi ID. Refer to Multi List
aa: Determines if B can cancel. 0x0 means B can cancel.



  #41    
Old January 22nd, 2011, 07:00 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by shiny quagsire View Post
If you have any problems, just ask and I'll try to fix them.
That looks cool and all, but wouldn't it just be easier to recreate or use the three-line textbox used when you fainted?


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
  #42    
Old January 22nd, 2011, 07:02 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Skype™ to Spherical Ice
Absolutely not, this way unlocks so many more possibilities and the ability to make your own scenarios for blacking out while still maintaning the original that still occurs automatically when you lose a trainer battle. :D I'm definitely interested in this.
  #43    
Old January 22nd, 2011, 07:14 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Tournaments Joined: 0
Tournaments Won: 0
Quote:
Originally Posted by Spherical Ice View Post
Absolutely not, this way unlocks so many more possibilities and the ability to make your own scenarios for blacking out while still maintaning the original that still occurs automatically when you lose a trainer battle. :D I'm definitely interested in this.
I didn't mean the original one, I meant making one that used the same code, but also having different text and different things happen after it, obviously.


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Post Reply
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 08:13 PM.

About Us
© 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.

Copyright
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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.