lib/cel_decode.js
function isType0(celName, frameNum) {
    // These special frames are type 1.
    switch (celName) {
    case 'l1':
        switch (frameNum) {
        case 148: case 159: case 181: case 186: case 188:
            return false;
        }
        break;
    case 'l2':
        switch (frameNum) {
        case 47: case 1397: case 1399: case 1411:
            return false;
        }
        break;
    case 'l4':
        switch (frameNum) {
        case 336: case 639:
            return false;
        }
        break;
    case 'town':
        switch (frameNum) {
        case 2328: case 2367: case 2593:
            return false;
        }
    }

    return true;
}
function isType0(celName, frameNum) {
    // These special frames are type 1.
    switch (celName) {
    case 'l1':
        switch (frameNum) {
        case 148: case 159: case 181: case 186: case 188:
            return false;
        }
        break;
    case 'l2':
        switch (frameNum) {
        case 47: case 1397: case 1399: case 1411:
            return false;
        }
        break;
    case 'l4':
        switch (frameNum) {
        case 336: case 639:
            return false;
        }
        break;
    case 'town':
        switch (frameNum) {
        case 2328: case 2367: case 2593:
            return false;
        }
    }

    return true;
}
function isType0 ( celName , frameNum ) { // These special frames are type 1. switch ( celName ) { case 'l1' : switch ( frameNum ) { case 148 : case 159 : case 181 : case 186 : case 188 : return false ; } break ; case 'l2' : switch ( frameNum ) { case 47 : case 1397 : case 1399 : case 1411 : return false ; } break ; case 'l4' : switch ( frameNum ) { case 336 : case 639 : return false ; } break ; case 'town' : switch ( frameNum ) { case 2328 : case 2367 : case 2593 : return false ; } } return true ; }
Returns true if the image is a plain 32x32.
Returns true if the image is a plain 32x32 .