VVVVVV random music change

Started by FIQ, August 18, 2012, 04:59:08 PM

Previous topic - Next topic

Dav999

Quote from: ToasterApocolypse on August 20, 2012, 06:50:25 PM
Quote from: Dav999 on August 20, 2012, 06:26:50 PM
Quote from: ToasterApocolypse on August 20, 2012, 05:10:17 PM
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
I cheated. :D

No, RoskillaHULK!! used it in this post.

I think the button is supposed to do it, but it does nothing if you click it.

EDIT: We're off topic.

To start being on topic again:

Quote from: blue626 on August 20, 2012, 10:56:20 AM
Where's the list of play() commands, btw?

0 = Level Complete!
1 = Pushing Onwards
2 = Positive Force
3 = Potential For Anything
4 = Passion For Exploring
5 = Radio music (at the beginning of the game)
6 = Presenting VVVVVV
7 = Game Complete!
8 = Predestined Fate
9 = ecroF evitisoP
10 = Popular Potpurri
11 = Pipe Dream
12 = Pressure Cooker
13 = Paced Energy
14 = Piercing The Sky
15 = The Crash Song :P

Crash song?  ???

play(15) crashes the game, just like everything else above 14

When I tried it the cutscene just ended.
As in, I moved the start away from the script, made positive force the start music and went to the play(15) script and positive force continued.

Ok, I tried it a second time, and now it didn't crash at play(15), only if I use play(16). So, what does play(15) do? The hidden remix on the 3DS?

ToasterApocalypse

Quote from: Dav999 on August 20, 2012, 06:57:23 PM
Quote from: ToasterApocolypse on August 20, 2012, 06:50:25 PM
Quote from: Dav999 on August 20, 2012, 06:26:50 PM
Quote from: ToasterApocolypse on August 20, 2012, 05:10:17 PM
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
I cheated. :D

No, RoskillaHULK!! used it in this post.

I think the button is supposed to do it, but it does nothing if you click it.

EDIT: We're off topic.

To start being on topic again:

Quote from: blue626 on August 20, 2012, 10:56:20 AM
Where's the list of play() commands, btw?

0 = Level Complete!
1 = Pushing Onwards
2 = Positive Force
3 = Potential For Anything
4 = Passion For Exploring
5 = Radio music (at the beginning of the game)
6 = Presenting VVVVVV
7 = Game Complete!
8 = Predestined Fate
9 = ecroF evitisoP
10 = Popular Potpurri
11 = Pipe Dream
12 = Pressure Cooker
13 = Paced Energy
14 = Piercing The Sky
15 = The Crash Song :P

Crash song?  ???

play(15) crashes the game, just like everything else above 14

When I tried it the cutscene just ended.
As in, I moved the start away from the script, made positive force the start music and went to the play(15) script and positive force continued.

Ok, I tried it a second time, and now it didn't crash at play(15), only if I use play(16). So, what does play(15) do? The hidden remix on the 3DS?

FIQ's theory. It could be possible IF (and only IF) Terry makes the 2.1 final.

FIQ

Quote from: ToasterApocolypse on August 20, 2012, 07:03:57 PM
Quote from: Dav999 on August 20, 2012, 06:57:23 PM
Quote from: ToasterApocolypse on August 20, 2012, 06:50:25 PM
Quote from: Dav999 on August 20, 2012, 06:26:50 PM
Quote from: ToasterApocolypse on August 20, 2012, 05:10:17 PM
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
I cheated. :D

No, RoskillaHULK!! used it in this post.

I think the button is supposed to do it, but it does nothing if you click it.

EDIT: We're off topic.

To start being on topic again:

Quote from: blue626 on August 20, 2012, 10:56:20 AM
Where's the list of play() commands, btw?

0 = Level Complete!
1 = Pushing Onwards
2 = Positive Force
3 = Potential For Anything
4 = Passion For Exploring
5 = Radio music (at the beginning of the game)
6 = Presenting VVVVVV
7 = Game Complete!
8 = Predestined Fate
9 = ecroF evitisoP
10 = Popular Potpurri
11 = Pipe Dream
12 = Pressure Cooker
13 = Paced Energy
14 = Piercing The Sky
15 = The Crash Song :P

Crash song?  ???

play(15) crashes the game, just like everything else above 14

When I tried it the cutscene just ended.
As in, I moved the start away from the script, made positive force the start music and went to the play(15) script and positive force continued.

Ok, I tried it a second time, and now it didn't crash at play(15), only if I use play(16). So, what does play(15) do? The hidden remix on the 3DS?

FIQ's theory. It could be possible IF (and only IF) Terry makes the 2.1 final.
The reason that play(16) crashes is due to a segfault, as you change the memory at some place that you shouldn't. Music variable is stored in a 4-bit int (which has 2^4 values, 0-15), and going higher than that will do no good. play(15) on the other hand, shouldn't crash the game... just be ignored.

Dav999

Quote from: FIQ on August 20, 2012, 07:36:55 PM
Music variable is stored in a 4-bit int

How do you know that? ??? Let me guess: you cheated.

blue626

#19
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
6 = Presenting VVVVVV
7 = Game Complete!
8 = Predestined Fate

If that's true, then why didn't it change to "Game Complete!"? Is it using simplified scripting?
I've read that "Remixed Predestined Fate" is play(15) on the 3DS.
In the list, on play(15), why did you use the nobbc code? Using ??? seems well.
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
I think the button is supposed to do it, but it does nothing if you click it.

That button deletes the [] tags. You have to select the tags to erase them, though.

EDIT:
Quote from: ToasterApocolypse on August 20, 2012, 07:03:57 PM
It could be possible IF (and only IF) Terry makes the 2.1 final.

Do you really doubt that 2.1. (stable) will be released? It would be weird to release a beta and not release the stable. I hope he really does release it.

FIQ

Quote from: Dav999 on August 20, 2012, 07:42:01 PM
Quote from: FIQ on August 20, 2012, 07:36:55 PM
Music variable is stored in a 4-bit int

How do you know that? ??? Let me guess: you cheated.
Nope, it's just the most logical reason. Try playef(31), then playef(32) for a similar result. Or gamestate(2147483647) vs gamestate(2147483648).

Dav999

Quote from: blue626 on August 20, 2012, 10:33:26 PM
Quote from: Dav999 on August 20, 2012, 03:43:48 PM
6 = Presenting VVVVVV
7 = Game Complete!
8 = Predestined Fate

If that's true, then why didn't it change to "Game Complete!"? Is it using simplified scripting?

Game complete is not a looping song, I believe, so maybe FIQ just came back to the game and noticed the music was different.

Quote from: blue626 on August 20, 2012, 10:33:26 PM
In the list, on play(15), why did you use the nobbc code? Using ??? seems well.

??? means 'huh?'. ??? means 'unknown'.