-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmygame_z1_level1.xci
100 lines (88 loc) · 1.92 KB
/
mygame_z1_level1.xci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Zone 1, level 1
bitmap mygame_house.data
sound car car.raw
init
sprite_frames 2 0 30 31 32 33 34 35 36 37 # Flag waving
sprite 2 282 50 # Top-right of pole
sprite_move 2 6 255 0 0 # Fixed position, 10 fps, 25.5 s
sprite_frames 3 0 38 39 # Front of car
sprite 3 86 170 # Parked, not moving
sprite_frames 4 0 40 # Rear of car
sprite 4 102 170 # Parked, not moving
sprite_frames 1 0 6
sprite 1 148 170
end_anim
tool_trigger look 18 21 19 22
clear
text 1 There we are.
end_anim
tool_trigger talk 18 21 19 22
clear
text 2 "Lookin' good!"
end_anim
item_trigger banana 1 1 18 21 19 22
clear
if first_banana
text 1 We're not hungry anymore.
wait 60
text 2 Not even for bananas.
get_item banana 1 # replenish lost banana
end_if
if_not first_banana
text 1 We could use a snack for the road.
wait 60
text 2 Mmm... banana!
set_state first_banana
end_if
end_anim
item_trigger coffee 1 0 18 21 19 22
clear
text 1 We're still pretty awake.
wait 60
text 1 Let's save the coffee for later.
end_anim
item_trigger phone 1 0 18 21 19 22
clear
text 1 Don't need to call for a ride.
wait 60
text 1 Our car is right here.
end_anim
tool_trigger look 10 21 15 24
clear
text 1 That's our car.
wait 60
text 1 We should have our keys.
end_anim
tool_trigger use 10 21 15 24
clear
text 1 Not much you can do with a car
text 1 without keys.
end_anim
tool_trigger talk 10 21 15 24
clear
text 2 "Hello, car."
wait 60
text 3 "Hello, Michael."
wait 60
text 2 "Um... My name is John."
wait 60
text 3 "Sorry. Wrong game."
end_anim
item_trigger keys 1 0 10 21 15 24
sprite_frames 1 0 1H 2H 3H 2H 1H 4H 5H 4H
sprite_move 1 4 26 -2 0
wait 104
sprite_hide 1
sprite_frames 4 0 41 42
play car
sprite_move 3 2 42 -2 0
sprite_move 4 2 42 -2 0
wait 84
go_level 2 0
end_anim
tool_trigger use 19 16 22 21
sprite_frames 1 0 11
wait 30
set_state front_to_foyer
go_level 1 0
end_anim