Welcome Guest [Log In] [Register]
Welcome to Yoshi Lighthouse. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
File Selection Menu; Plenty of information and tidbits
Topic Started: Mar 12 2013, 12:01:23 AM (322 Views)
Posted Image Salanewt
Member Avatar
Star Yoshi

Howdy! I think I'll just paste my .txt file in here for now...

Menus:
08125B4F: File deletion code (?)

0812661C: Beginning of file selection menu code (?)

0812675C: File select menu, file option assignments (0 = Start Game, 1 = Copy File, 2 = Delete, 3 = Cancel)
08126814: File select code (what executes when selecting a file)
08126836: Button press/confirmation in file menus
08126BFE: Amount of file options when moving cursor down (in file settings)
08126C10: Amount of tile options when moving cursor up (in file settings)

08126650: Delete file option Yes (final) condition + branch code
081266A0: Delete file option Yes (final) related code
081266AE: Delete file option Yes (final) check; branch if not equal to x21/Yes (final) option

08126664: Delete file option Yes (first) code
08126668: Delete file option Yes (first) sound effect (x60 is default)

0812667A: Delete file option No (first) code
0812667E: Delete file option No (first) sound effect (x61 is default)

081266D6: Delete file option No (final) code
081266DA: Delete file option No (final) sound effect (x61 is default)

08126728: Game file editing code (copying/deleting file, loading)
0812672C: Game file editing sound effect (x60 is default)

0812677A: Start Game option code
0812677E: Start game option sound effect (x60 is default)

081267A4: Copy File option code
081267A8: Copy File sound effect (x60 is default)

081267C0: Delete option code
081267C4: Delete option sound effect (x60 is default, will want x50 for MP)
081267D2: Default delete file option (x10 is the default for No (first)
081267D8: Delete option arrow cursor X coordinate (x2E is the default)
081267DE: Delete option arrow cursor Y coordinate (x60 is the default, x53 hovers over Yes options)

081268BA: Loads file editing option values from RAM (x03002307)

03002305: Current file option selected (+1)
03002306: Current file selected

03002307: File editing options (00 = nothing, 01 = copying, 11 = Yes (first), 10 = No (first), 21 = Yes (final), 20 = No (final))



So yeah, this is what I have so far. I also changed the Delete option's final "Yes" confirmation earlier to start the game for fun. Why? I'm hoping it'll help for future reference.

What I'm searching for now is something that helps define what the "file editing option" values are. The byte likely holds two 4-bit values, one for the type of action (nothing/copy, delete 1, delete 2) and what the cursor is selecting (whether a file or yes/no). Kind of tired, so I apologize if this is confusing.
Edited by Salanewt, Mar 12 2013, 12:06:14 AM.
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

If it helps, the first function has a list of of pointers at the beginning.

*Copied from Assembly guide*


081254FC = File Select Screen function
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

Wonderful, thanks for the pointer list! I think I'll check to see exactly what I can find regarding the Delete interfaces later, as it would be nice if I could give the Start Game option something similar for the multiplayer project.

It kind of looks like 08126504 is repeated a few times too, so I might also check to see if they are all used or not.
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Superstar Saga · Next Topic »
Add Reply

↓ It's not the truth (or is it?) Come back tomorrow to find out! (Joke.) ↓