News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[sm] item pickup question

Started by Odylg, February 03, 2014, 06:09:09 AM

Previous topic - Next topic

Odylg

how do i remove the message that pops up when you pick up an item? i want the gameplay to not stop for 400 frames every time i get an item

Quietus

It sounds like you just want to reduce how long the box is on screen?  If so, this is from the Hex page:

Quote28491 - 68 01 to ?? ??
Time for how long the message box stays open. (Found by Black_Falcon)
NOTE: The ROM value is reversed so 68 01 is actually 0168 which means the box stays open for 168 frames in hex (time for the 'aquired item' fanfare).
(In case you don't know, grab a free Hex Editor, such as HxD, go to that location, and type over the existing bytes with your new ones.)

P.JBoy

If you want to disable the message box fully and completely, you'll want to change the byte at $28080 from 0x08 to 0x6B. This will affect save stations and what-not though, as does Black_Falcon's hex change.

If you want to disable the message box for just beams, you'll want to change whatever's at $208EB to EA EA EA EA, for equipment, you'll want to change $20912 to EA EA EA EA; similarly for grapple at $2093A, x-ray at $20961, energy tanks at $2097F, reserve tanks at $209A2, missile tanks at $209CB, super missile tanks at $209F4, and power bomb tanks at $20A1D
...

Odylg


Quietus

You should still be able to save fine - you just won't get the message, unless you tinker with them individually, as above.

Scyzer

I irc, removing message boxes completely will break saving at save stations, but not the ship. The save station instruction table is set up so not saving is the "default" (ie, the instructions for not saving are right after the message box instruction, and clicking yes will jump to a different location). With no message box, the jump never happens and its as if you are always clicking no.
Just going by what I had to go through in Impulsion to make it work before I knew ASM. You'll probably need to change a few things in the save station instructions, but I'm just going by what I did from memory about 4 years ago.

Quietus

That's probably right.  I forgot that you had to select 'YES' (go, being spoilt with save states!). :lol:

Odylg

i forgot about that too. guess I'll just do the others individually. well, once i get to a place with internet so i can download the hex editor anyway. i could've sworn i had it but i guess not

Odylg

so apparently EditPad Pro can edit hex. changed stuff, works great. thanks!

now, how do i change the "item get!" sound? doors won't finish transition till the sound ends so i'd like to use a shorter one. or have no sound play at all

Quietus

If you right-click on an item, and click 'Type', you will see a box labelled 'Music'.  You just change that.  You can no doubt change it further with more tinkering, but that's the easiest way.

Odylg

oh wow i forgot all about that little drop box.

hmm... the door transition still delays finishing

Jordan5

If you want to speed up the door transitions then use Rakki's door speed up patch on the patches section of the main site.

Odylg

the delay happens after the door finishes moving but BEFORE the fade begins.

I've even tried using DF21-1D6C to remove the fade but the delay still happens

Odylg


Quote58

ahhh okay I found that issue at one point as well. That's because the message box routine wasn't done (likely the music due to hex changes you made). This means the transition routine won't finish and let the room load until the previous room's message box has finished. To fix this, you'll need to make sure that although the message box is no longer open, the rest of the routine isn't still active (again probably the music).

Odylg

how do i make sure the rest of the routine isn't loaded?

Quote58

http://jathys.zophar.net/supermetroid/kejardon/MessageBoxes.txt
(I'm actually going to be making my own version of message boxes that won't be as annoying as those at some point btw)

Odylg

Quote from: Quote58 on April 27, 2014, 09:58:33 PM
http://jathys.zophar.net/supermetroid/kejardon/MessageBoxes.txt
(I'm actually going to be making my own version of message boxes that won't be as annoying as those at some point btw)

late reply, i know. what am i supposed to change and what to change it to?