News:

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

Main Menu

[SM] Editing message boxes.

Started by Jet3rd, February 28, 2018, 07:56:33 PM

Previous topic - Next topic

Jet3rd

uhh. How do I do it?

I read this.

I don't really understand it. What am I supposed to do with it? HELP APPRECIATED  :grin:

mccad

Smile RF has an integegrated message box editor, which will suffice unless you need to add a button to the box (like displaying that you need to press select to use missiles) or add more message boxes than vanilla

PHOSPHOTiDYL

Here, I posted this on the resource thread. Specifically for Smile RF.
56 new messages as is. Way easier than typing every new message.

Quote from: PHOSPHOTiDYL on January 18, 2018, 06:11:42 AM
This patch is for if using SMILE RF.
I personally use due to working from a small laptop & it's features are seperate windows.

Makes life a bit easier by adding native message boxes.
Very simple to add messages now, just read the comments.

$00 is $01 in RF, message $00 in game is NO MESSAGE.

I guess it's my own messenger patch too.
I had the full bank moved to $80 a few months ago, it's gone.

I'll keep it vanilla now.

LoROM

;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;//[ADD TO THE END FOR EACH MESSAGE]
;=================================================;
;-------------------------------------------------;
ORG $85824F : PHX : JSR (MessageBox+#$02,x) : PLX : JSR (MessageBox,x) : RTS
ORG $8582F1 : LDA.w MessageBox+#$04 : STA $00 : LDA.w MessageBox+#$0A
ORG $858412 : LDA.w ButtonStuff,x
;-------------------------------------------------;
ORG $85869B ;//[OLD MessageBox/MessageStuff]
ButtonStuff: ;//[first $0000 is no message, save message is complicated, just add to the end of it]
dw $0000 ;//[message 00 is no message, so in smile rf message $00 is $01]
dw $0000
dw $012A ;//[Missile]
dw $012A ;//[Super Missile]
dw $012C ;//[Power Bomb]
dw $012C ;//[Grappling Beam]
dw $012C ;//[X-Ray Scope]
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0120 ;//[Speed Booster]
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $012A ;//[Bomb]
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000

padbyte $FF : pad $85877F ;//[($00AC bytes)][That's 56 messages for ya]
;-------------------------------------------------;
ORG $859643 ;//[free space to bank $86]
MessageBox: ;//[SMALL MBOX $8436,$8289,MBOX//LARGE MBOX $83C5,$825A,MBOX]
;//[REMEMBER MESSAGE $00 IN SMILE RF IS MESSAGE $01 IN GAME]
dw $8436,$8289,$877F ;//[$00/type/typecode/message]
dw $83C5,$825A,$87BF ;//[$01/type/typecode/message]
dw $83C5,$825A,$88BF ;//[$02/type/typecode/message]
dw $83C5,$825A,$89BF ;//[$03/type/typecode/message]
dw $83C5,$825A,$8ABF ;//[$04/type/typecode/message]
dw $83CC,$825A,$8BBF ;//[$05/type/typecode/message]
dw $8436,$8289,$8CBF ;//[$06/type/typecode/message]
dw $8436,$8289,$8CFF ;//[$07/type/typecode/message]
dw $8436,$8289,$8D3F ;//[$08/type/typecode/message]
dw $8436,$8289,$8D7F ;//[$09/type/typecode/message]
dw $8436,$8289,$8DBF ;//[$0A/type/typecode/message]
dw $8436,$8289,$8DFF ;//[$0B/type/typecode/message]
dw $83C5,$825A,$8E3F ;//[$0C/type/typecode/message]
dw $8436,$8289,$8F3F ;//[$0D/type/typecode/message]
dw $8436,$8289,$8F7F ;//[$0E/type/typecode/message]
dw $8436,$8289,$8FBF ;//[$0F/type/typecode/message]
dw $8436,$8289,$8FFF ;//[$10/type/typecode/message]
dw $8436,$8289,$903F ;//[$11/type/typecode/message]
dw $83C5,$825A,$907F ;//[$12/type/typecode/message]
dw $8436,$8289,$917F ;//[$13/type/typecode/message]
dw $8436,$8289,$923F ;//[$14/type/typecode/message]
dw $8436,$8289,$92FF ;//[$15/type/typecode/message]
dw $8441,$8289,$93BF ;//[$16/type/typecode/message]
dw $8436,$8289,$94BF ;//[$17/type/typecode/message]
dw $8436,$8289,$94FF ;//[$18/type/typecode/message]
dw $8436,$8289,$953F ;//[$19/type/typecode/message]
dw $8436,$8289,$957F ;//[$1A/type/typecode/message]
dw $8441,$8289,$93BF ;//[$1B/type/typecode/message]
dw $8436,$8289,$94BF ;//[$1C/type/typecode/message]
;-------------------------------------------------;
;=================================================;


Jet3rd

So I guess I have a problem. I use smile jx. And I don't want to use smile RF at the moment cause it requires an installation, which I would rather not do since I'm using a family computer.

I think I may have found a way to do it with smile jx. If I go to fx1 and edit layer 3 (don't know what it is.) and put in the values I get the message box stuff.
Seems to work for now. Thanks for the help.

Smiley

I just want to note that the offline version of RF doesn't need any kind of registering files or other installation.

Jet3rd

Thanks a lot!  :yay:

I will definitely use smile RF. I didn't know there was an offline version.