Works without the screens

tested on a save
This commit is contained in:
Gouvernathor 2024-04-03 01:47:02 +02:00
parent cd63abd27b
commit caa4cd0b2c

View File

@ -1,29 +1,3 @@
# Screens left for saves compat
screen chibi(chibi_object):
zorder chibi_object.zorder
sensitive False
fixed:
at chibi_object.transform
fit_first True
for d in chibi_object.displayables():
add d
# frame: # Debug frame
# background "#00ff0055"
screen chibi_emote(emote, chibi_object):
zorder chibi_object.zorder
sensitive False
add f"emo_{emote}":
at emote_effect
anchor (0.5, 1.0)
pos chibi_object.pos
zoom ChibiRoom.get().scale
xzoom (-1 if chibi_object.flip else 1)
if chibi_object.tag in ("genie", "snape"):
offset (int(75*ChibiRoom.get().scale), int(-200*ChibiRoom.get().scale))
else:
offset (int(50*ChibiRoom.get().scale), int(-170*ChibiRoom.get().scale))
label chibi_emote(emote, name): label chibi_emote(emote, name):
python: python:
if emote == "hide": if emote == "hide":