Support different results characters for debug mode

This commit is contained in:
LoveEevee 2019-02-12 03:31:20 +03:00
parent e220174c8a
commit 4d2c17c1e0
2 changed files with 3 additions and 2 deletions

View File

@ -81,7 +81,8 @@ var assets = {
"mimizu.png",
"results_flowers.png",
"results_mikoshi.png",
"results_tetsuohana.png"
"results_tetsuohana.png",
"results_tetsuohana2.png"
],
"audioSfx": [
"se_cancel.wav",

View File

@ -134,7 +134,7 @@ class Scoresheet{
this.tetsuoHana.id = "tetsuohana"
var flowersBg = "url('" + assets.image["results_flowers"].src + "')"
var mikoshiBg = "url('" + assets.image["results_mikoshi"].src + "')"
var tetsuoHanaBg = "url('" + assets.image["results_tetsuohana"].src + "')"
var tetsuoHanaBg = "url('" + assets.image["results_tetsuohana" + (debugObj.state === "closed" ? "" : "2")].src + "')"
var id = ["flowers1", "flowers2", "mikoshi", "tetsuo", "hana"]
var bg = [flowersBg, flowersBg, mikoshiBg, tetsuoHanaBg, tetsuoHanaBg]
for(var i = 0; i < id.length; i++){