I’m trying to code a section where overlays do or don’t display based on how many points a character has. For some reason, it’s working for some of the overlays, but not for all of them. Even though it’s the same exact code. Can someone tell me what I’ve done wrong?
if (BETSY < 1) {
&overlay BETSY create
&overlay BETSY opacity 1 in 0
&overlay 5156305046798336_BETSY shifts to 233 455 in zone 2
&overlay 5156305046798336_BETSY scales to 0.523 0.523
&overlay BETSY moves to layer 6
}
if (CHARLES < 1) {
&overlay CHARLES create
&overlay CHARLES opacity 1 in 0
&overlay 5156305046798336_CHARLES shifts to 65 458 in zone 2
&overlay 5156305046798336_CHARLES scales to 0.468 0.468
&overlay CHARLES moves to layer 6
}
if (CHARLOTTE < 1) {
&overlay CHARLOTTE create
&overlay CHARLOTTE opacity 1 in 0
&overlay 5156305046798336_CHARLOTTE shifts to 191 356 in zone 2
&overlay 5156305046798336_CHARLOTTE scales to 0.400 0.400
&overlay CHARLOTTE moves to layer 6
}
if (FANNY < 1) {
&overlay FANNY create
&overlay FANNY opacity 1 in 0
&overlay 5156305046798336_FANNY shifts to 5 365 in zone 2
&overlay 5156305046798336_FANNY scales to 0.482 0.482
&overlay FANNY moves to layer 6
}
if (GEORGE < 1) {
&overlay GEORGE create
&overlay GEORGE opacity 1 in 0
&overlay 5156305046798336_GEORGE shifts to 70 176 in zone 2
&overlay 5156305046798336_GEORGE scales to 0.523 0.523
&overlay GEORGE moves to layer 6
}
if (HENRY < 1) {
&overlay HENRY create
&overlay HENRY opacity 1 in 0
&overlay 5156305046798336_HENRY shifts to 91 50 in zone 2
&overlay 5156305046798336_HENRY scales to 0.536 0.536
&overlay HENRY moves to layer 6
}
if (JAMES < 1) {
&overlay JAMES create
&overlay JAMES opacity 1 in 0
&overlay 5156305046798336_JAMES shifts to 35 278 in zone 2
&overlay 5156305046798336_JAMES scales to 0.400 0.400
&overlay JAMES moves to layer 6
}
if (JANE < 1) {
&overlay JANE create
&overlay JANE opacity 1 in 0
&overlay 5156305046798336_JANE shifts to 150 455 in zone 2
&overlay 5156305046798336_JANE scales to 0.495 0.495
&overlay JANE moves to layer 6
}
if (JOHN < 1) {
&overlay JOHN create
&overlay JOHN opacity 1 in 0
&overlay 5156305046798336_JOHN shifts to 238 277 in zone 2
&overlay 5156305046798336_JOHN scales to 0.495 0.495
&overlay JOHN moves to layer 6
}
if (KATE < 1) {
&overlay KATE create
&overlay KATE opacity 1 in 0
&overlay 5156305046798336_KATE shifts to 238 150 in zone 2
&overlay 5156305046798336_KATE scales to 0.455 0.455
&overlay KATE moves to layer 6
}
if (MARY < 1) {
&overlay MARY create
&overlay MARY opacity 1 in 0
&overlay 5156305046798336_MARY shifts to 141 278 in zone 2
&overlay 5156305046798336_MARY scales to 0.441 0.441
&overlay MARY moves to layer 6
}
if (NAN < 1) {
&overlay NAN create
&overlay NAN opacity 1 in 0
&overlay 5156305046798336_NAN shifts to 0 174 in zone 2
&overlay 5156305046798336_NAN scales to 0.427 0.427
&overlay NAN moves to layer 6
}
if (ROBERT < 1) {
&overlay ROBERT create
&overlay ROBERT opacity 1 in 0
&overlay 5156305046798336_ROBERT shifts to 183 55 in zone 2
&overlay 5156305046798336_ROBERT scales to 0.495 0.495
&overlay ROBERT moves to layer 6
}
if (SUSAN < 1) {
&overlay SUSAN create
&overlay SUSAN opacity 1 in 0
&overlay 5156305046798336_SUSAN shifts to 161 181 in zone 2
&overlay 5156305046798336_SUSAN scales to 0.523 0.523
&overlay SUSAN moves to layer 6
}
if (THOMAS < 1) {
&overlay THOMAS create
&overlay THOMAS opacity 1 in 0
&overlay 5156305046798336_THOMAS shifts to 82 355 in zone 2
&overlay 5156305046798336_THOMAS scales to 0.482 0.482
&overlay THOMAS moves to layer 6
}
if (WILLIAM < 1) {
&overlay WILLIAM create
&overlay WILLIAM opacity 1 in 0
&overlay 5156305046798336_WILLIAM shifts to 7 52 in zone 2
&overlay 5156305046798336_WILLIAM scales to 0.495 0.495
&overlay WILLIAM moves to layer 6
}