CASTLE_GREENLEAF_MENU
  face_r mr_greenleaf
  if $GREENLEAF_DIALOGUE_1==1
    reply CASTLE_GREENLEAF_OFFICE_06
  if $GREENLEAF_DIALOGUE_2==1
    reply CASTLE_GREENLEAF_OFFICE_20
  if $GREENLEAF_DIALOGUE_3==1
    reply CASTLE_GREENLEAF_OFFICE_38
  if $GREENLEAF_DIALOGUE_4==1
    reply CASTLE_GREENLEAF_OFFICE_44
  if $GREENLEAF_DIALOGUE_5==1
    reply CASTLE_GREENLEAF_OFFICE_46

CASTLE_GREENLEAF_OFFICE_00
  face_r mr_greenleaf
  text_r -
  animate mr_greenleaf talk1 0.4
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_01

CASTLE_GREENLEAF_OFFICE_01
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_02

CASTLE_GREENLEAF_OFFICE_02
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_03

CASTLE_GREENLEAF_OFFICE_03
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_04

CASTLE_GREENLEAF_OFFICE_04
  text_r -
  set_var GREENLEAF_DIALOGUE_1 1
  reset_scene
  redirect CASTLE_GREENLEAF_MENU

CASTLE_GREENLEAF_OFFICE_06
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_07

CASTLE_GREENLEAF_OFFICE_07
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_08

CASTLE_GREENLEAF_OFFICE_08
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_09

CASTLE_GREENLEAF_OFFICE_09
  text_l -
  animate player talk1 1.8
  redirect CASTLE_GREENLEAF_OFFICE_10

CASTLE_GREENLEAF_OFFICE_10
  text_r -
  animate mr_greenleaf talk1 1.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_11

CASTLE_GREENLEAF_OFFICE_11
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_12

CASTLE_GREENLEAF_OFFICE_12
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_13

CASTLE_GREENLEAF_OFFICE_13
  text_l -
  animate player talk1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_14

CASTLE_GREENLEAF_OFFICE_14
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_15

CASTLE_GREENLEAF_OFFICE_15
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_16

CASTLE_GREENLEAF_OFFICE_16
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_17

CASTLE_GREENLEAF_OFFICE_17
  text_l -
  animate player talk2 1.8
  redirect CASTLE_GREENLEAF_OFFICE_18

CASTLE_GREENLEAF_OFFICE_18
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  set_var GREENLEAF_DIALOGUE_2 1
  redirect CASTLE_GREENLEAF_MENU

CASTLE_GREENLEAF_OFFICE_20
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_21

CASTLE_GREENLEAF_OFFICE_21
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_22

CASTLE_GREENLEAF_OFFICE_22
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_23

CASTLE_GREENLEAF_OFFICE_23
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_24

CASTLE_GREENLEAF_OFFICE_24
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_25

CASTLE_GREENLEAF_OFFICE_25
  text_l -
  animate player talk2 0.8
  redirect CASTLE_GREENLEAF_OFFICE_26

CASTLE_GREENLEAF_OFFICE_26
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_27

CASTLE_GREENLEAF_OFFICE_27
  text_l -
  animate player talk1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_28

CASTLE_GREENLEAF_OFFICE_28
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_29

CASTLE_GREENLEAF_OFFICE_29
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_30

CASTLE_GREENLEAF_OFFICE_30
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_31

CASTLE_GREENLEAF_OFFICE_31
  text_l -
  animate player talk1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_32

CASTLE_GREENLEAF_OFFICE_32
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_33

CASTLE_GREENLEAF_OFFICE_33
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_34

CASTLE_GREENLEAF_OFFICE_34
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_35

CASTLE_GREENLEAF_OFFICE_35
  text_l -
  animate player talk1 1.8
  redirect CASTLE_GREENLEAF_OFFICE_36

CASTLE_GREENLEAF_OFFICE_36
  text_r -
  set_var GREENLEAF_DIALOGUE_3 1
  redirect CASTLE_GREENLEAF_MENU

CASTLE_GREENLEAF_OFFICE_38
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_39

CASTLE_GREENLEAF_OFFICE_39
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_40

CASTLE_GREENLEAF_OFFICE_40
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_41

CASTLE_GREENLEAF_OFFICE_41
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_42

CASTLE_GREENLEAF_OFFICE_42
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  set_var GREENLEAF_DIALOGUE_4 1
  redirect CASTLE_GREENLEAF_MENU

CASTLE_GREENLEAF_OFFICE_44
  text_r -
  set_var GREENLEAF_DIALOGUE_5 1
  redirect CASTLE_GREENLEAF_MENU

CASTLE_GREENLEAF_OFFICE_46
  text_r -
  animate mr_greenleaf talk1 0.8
  animate player listen1 0.8
  redirect CASTLE_GREENLEAF_OFFICE_47

CASTLE_GREENLEAF_OFFICE_47
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_48

CASTLE_GREENLEAF_OFFICE_48
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_49

CASTLE_GREENLEAF_OFFICE_49
  text_l -
  redirect CASTLE_GREENLEAF_OFFICE_50

CASTLE_GREENLEAF_OFFICE_50
  text_r -
  redirect CASTLE_GREENLEAF_OFFICE_END

CASTLE_GREENLEAF_OFFICE_END
  show_ui 0
  text_l EMPTY_STRING
  execute active_scene.data_source['mr_greenleaf'].move(vec3(-245.51,0,302.96))
  set_var talked_to_greenleaf 2
  switch_scene day1_OwnerOffice 6
  redirect __END__

