Users browsing this thread: 1 Guest(s)
Random battle theme

#6
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
(01-13-2014, 10:11 PM)Madsiur Wrote: On a side note, it seems "current music 1" and "current music 2" while having a different hex value in the formation data, have the same byte loaded (0xFF), which skips the song loading sequence. This mean by simply changing one of the two FF in the data table for a valid song index, you add a song choice for all formation that you can set in FF3usME.

I've noticed today that the current music 1 and 2 if changed to another song, for battles or whatever, does not continue on with the previous map song where it left off like the other battle songs in the table, it resets the map song after back to the start. This is no real big deal, but it is kinda annoying. I'm wondering maybe if there's something that can be done to make it act like the other songs in the table and continue on where the map song left off... Huh

I'd guess that if both the play current songs are connected by code that this wouldn't be easy to do, since one of them would need to remain the same I'd think.

Looks like this is where the magic happens:

C5/061F: 08 PHP
C5/0620: E220 SEP #$20
C5/0622: A500 LDA $00
C5/0624: C914 CMP #$14
C5/0626: B010 BCS $0638
C5/0628: A20000 LDX #$0000
C5/062B: BFF906C5 LDA $C506F9,X (Song indexes which need the current song to be paused then resumed)
C5/062F: 300D BMI $063E (branch if song is not on list?)
C5/0631: C501 CMP $01
C5/0633: F003 BEQ $0638 (branch if song on list matched?)
C5/0635: E8 INX
C5/0636: 80F3 BRA $062B (loop for all songs?)
C5/0638: A904 LDA #$04
C5/063A: 0500 ORA $00
C5/063C: 8500 STA $00
C5/063E: 28 PLP
C5/063F: 60 RTS

Data: Song indexes which need the current song to be paused then resumed - Evil Peer


C5/06F9: 24 (Battle, from C5/062B)
C5/06FA: 38 (Nighty Night)
C5/06FB: 14 (Decisive battle)
C5/06FC: 33 (Fierce battle)
C5/06FD: FF (Silence?)

I've tried moving and expanding the list, but that doesn't seem to be working like I thought it would... I must be missing something.


We are born, live, die and then do the same thing over again.
Quote  



Messages In This Thread
Random battle theme - by madsiur - 01-13-2014, 07:47 PM
RE: Random battle theme - by Lockirby2 - 01-13-2014, 09:48 PM
RE: Random battle theme - by madsiur - 01-13-2014, 10:11 PM
RE: Random battle theme - by SSJ Rick - 01-14-2014, 03:58 AM
RE: Random battle theme - by B-Run - 01-20-2014, 09:54 PM
RE: Random battle theme - by Gi Nattak - 09-02-2014, 07:19 PM
RE: Random battle theme - by emberling - 10-13-2018, 03:27 PM
RE: Random battle theme - by Lightning - 10-13-2018, 01:28 PM
RE: Random battle theme - by Gi Nattak - 10-13-2018, 01:58 PM
RE: Random battle theme - by Lightning - 10-13-2018, 02:15 PM
RE: Random battle theme - by madsiur - 10-13-2018, 02:27 PM
RE: Random battle theme - by Lightning - 10-13-2018, 02:33 PM
RE: Random battle theme - by madsiur - 10-13-2018, 02:52 PM
RE: Random battle theme - by Lightning - 10-13-2018, 03:20 PM
RE: Random battle theme - by madsiur - 10-13-2018, 03:52 PM
RE: Random battle theme - by Lightning - 12-07-2018, 03:46 AM
RE: Random battle theme - by Lightning - 10-13-2018, 05:25 PM
RE: Random battle theme - by madsiur - 10-13-2018, 10:16 PM
RE: Random battle theme - by Lightning - 10-13-2018, 11:45 PM
RE: Random battle theme - by madsiur - 10-14-2018, 12:04 AM
RE: Random battle theme - by Lightning - 10-14-2018, 02:33 PM
RE: Random battle theme - by madsiur - 10-14-2018, 03:07 PM
RE: Random battle theme - by Lightning - 10-14-2018, 03:12 PM
RE: Random battle theme - by madsiur - 10-14-2018, 03:16 PM
RE: Random battle theme - by Lightning - 10-14-2018, 04:05 PM
RE: Random battle theme - by madsiur - 10-14-2018, 07:11 PM
RE: Random battle theme - by Lightning - 10-15-2018, 04:11 AM
RE: Random battle theme - by madsiur - 10-16-2018, 11:48 AM
RE: Random battle theme - by Lightning - 10-17-2018, 04:51 PM
RE: Random battle theme - by Gi Nattak - 10-17-2018, 05:28 PM
RE: Random battle theme - by Lightning - 10-17-2018, 07:22 PM
RE: Random battle theme - by madsiur - 10-17-2018, 10:48 PM
RE: Random battle theme - by Lightning - 10-17-2018, 11:21 PM
RE: Random battle theme - by Lightning - 12-14-2018, 03:52 AM
RE: Random battle theme - by madsiur - 12-11-2018, 03:52 PM
RE: Random battle theme - by Lightning - 12-11-2018, 06:11 PM
RE: Random battle theme - by madsiur - 12-11-2018, 06:23 PM
RE: Random battle theme - by Lightning - 12-11-2018, 09:21 PM
RE: Random battle theme - by Lightning - 12-14-2018, 02:41 PM
RE: Random battle theme - by madsiur - 12-14-2018, 11:23 AM
RE: Random battle theme - by madsiur - 12-14-2018, 03:16 PM
RE: Random battle theme - by Lightning - 12-14-2018, 03:28 PM
RE: Random battle theme - by madsiur - 12-14-2018, 04:53 PM
RE: Random battle theme - by Lightning - 12-14-2018, 05:45 PM
RE: Random battle theme - by madsiur - 12-14-2018, 08:10 PM
RE: Random battle theme - by Lightning - 12-14-2018, 09:58 PM
RE: Random battle theme - by Lightning - 07-11-2021, 03:22 PM
RE: Random battle theme - by madsiur - 07-11-2021, 03:52 PM
RE: Random battle theme - by Lightning - 07-11-2021, 04:11 PM
RE: Random battle theme - by madsiur - 07-11-2021, 04:21 PM
RE: Random battle theme - by Lightning - 07-11-2021, 04:41 PM
RE: Random battle theme - by madsiur - 07-11-2021, 05:46 PM
RE: Random battle theme - by Lightning - 07-11-2021, 07:48 PM
RE: Random battle theme - by madsiur - 07-11-2021, 08:34 PM
RE: Random battle theme - by Lightning - 07-12-2021, 10:49 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite