… | |
… | |
1268 | { |
1268 | { |
1269 | stat_hp = 255 - (op->stats.hp * 255 + 254) / op->stats.maxhp; |
1269 | stat_hp = 255 - (op->stats.hp * 255 + 254) / op->stats.maxhp; |
1270 | stat_width = op->arch->max_x - op->arch->x; //TODO: should be upper-left edge |
1270 | stat_width = op->arch->max_x - op->arch->x; //TODO: should be upper-left edge |
1271 | } |
1271 | } |
1272 | |
1272 | |
1273 | if (op->msg && op->msg[0] == '@') |
1273 | if (op->has_dialogue ()) |
1274 | flags |= 1; |
1274 | flags |= 1; |
1275 | |
1275 | |
1276 | if (op->type == PLAYER) |
1276 | if (op->type == PLAYER) |
1277 | player = op->count; |
1277 | player = op->count; |
1278 | } |
1278 | } |