Jump to content
  • 0

Is there a way to add conditons like IfElse to [Victory Screen] p1.spr?


Question

Posted

mGxDEdO.png

 

Like, if big portrait 9000,2 is unavailable, then big portrait 9000,1 will be used?

;-------------------------------------------------------------------
;Victory screen definition
;This is the screen that is shown when you win a match in arcade mode.
;It will not be displayed on the last match of arcade mode.
[Victory Screen]
enabled = 1
time = 765;300                ;Time to show screen
fadein.time = 8
fadeout.time = 15
;Winner's portrait and name
p1.offset = 402,48
p1.spr = 9000,1
p1.facing = 1
p1.scale = 1,1
p1.window = 402,48, 880,608
p1.name.offset = 402,640
p1.name.font = 4,0,1

;-------------------------------------------------------------------
;Victory screen definition
;This is the screen that is shown when you win a match in arcade mode.
;It will not be displayed on the last match of arcade mode.
[Victory Screen]
enabled = 1
time = 765;300                ;Time to show screen
fadein.time = 8
fadeout.time = 15
;Winner's portrait and name
p1.offset = 402,48
p1.spr = 9000,2
p1.facing = 1
p1.scale = 1,1
p1.window = 402,48, 880,608
p1.name.offset = 402,640
p1.name.font = 4,0,1

2 answers to this question

Recommended Posts

  • 0
Posted

Yeah this is done by the system. If a win portrait is unavailable it will simply opt to use the big portrait that has been coded in. Ifelse is not useful in this regard, infact it likely result in the game facing an error.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...