Is there a way to make a string play on the first time you enter a screen after screen secrets having been activated (in a different screen, using screen state carryovers)? It should only play once.
Message on secrets
Started by
klop422
, Aug 06 2018 11:25 AM
2 replies to this topic
#1
Posted 06 August 2018 - 11:25 AM
#2
Posted 06 August 2018 - 12:24 PM
Completely untested script below (mostly because I'm not entirely sure how carryover secrets work).
//D0- Message to play //D1- Screen->D register to store this in. Uses a number from 0 to 7. ffc script Secrets_Carried_Over{ void run(int message, int register){ if(Screen->D[register]!=0) Quit(); while(!Screen->State[ST_SECRET]) Waitframe(); Screen->Message(message); Screen->D[register]= 1; } }
What this should do is as long as screen secrets haven't been triggered on that screen and the register doesn't have a value (which will be the case unless it is adjusted by a script) will play a message once the secrets have been activated.
#3
Posted 06 August 2018 - 01:56 PM
Put an auto side warp secret combo in the room. Then set it up to warp you to a duplicate Door Repair room type screen.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users