init 5 python:
    def her_cg_doll(st, at):
        return hermione.image, None

    def lun_cg_doll(st, at):
        return luna.image, None

    def ton_cg_doll(st, at):
        return tonks.image, None

    def cho_cg_doll(st, at):
        return cho.image, None

    def ast_cg_doll(st, at):
        return astoria.image, None

    def sus_cg_doll(st, at):
        return susan.image, None

image CG her_doll = DynamicDisplayable(her_cg_doll)
image CG lun_doll = DynamicDisplayable(lun_cg_doll)
image CG ton_doll = DynamicDisplayable(ton_cg_doll)
image CG cho_doll = DynamicDisplayable(cho_cg_doll)
image CG ast_doll = DynamicDisplayable(ast_cg_doll)
image CG sus_doll = DynamicDisplayable(sus_cg_doll)

transform CG_masker(child):
    contains:
        "images/CG/common/bg.webp"
    contains:
        AlphaMask(
            Fixed(Transform(child, zoom=1.2, pos=(880, -180)), xfit=True, yfit=True),
            "images/CG/common/mask.webp",
        )

image CG luna = At("CG lun_doll", CG_masker)
image CG hermione = At("CG her_doll", CG_masker)
image CG tonks = At("CG ton_doll", CG_masker)
image CG cho = At("CG cho_doll", CG_masker)
image CG astoria = At("CG ast_doll", CG_masker)
image CG susan = At("CG sus_doll", CG_masker)

# Snape CG
screen snape_groping():
    add "images/CG/scene_01.webp" zoom 0.5
    zorder 14

screen snape_facial():
    add "images/CG/scene_03.webp" zoom 0.5
    zorder 14

screen snape_sex():
    add "images/CG/scene_04.webp" zoom 0.5
    zorder 14

screen dual_hand_job():
    add "images/CG/scene_02.webp" zoom 0.5
    zorder 14