line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
594
|
use 5.16.0; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
55
|
|
3
|
|
|
|
|
|
|
package Games::Nintendo::Mario::NSMB::Wii 0.208; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
832
|
use parent qw(Games::Nintendo::Mario::NSMB); |
|
1
|
|
|
|
|
345
|
|
|
1
|
|
|
|
|
6
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
42
|
use Carp (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8997
|
|
8
|
|
|
|
|
|
|
|
9
|
10
|
|
|
10
|
|
33
|
sub _names { ('Mario', 'Luigi', 'Blue Toad', 'Yellow Toad') } |
10
|
10
|
|
|
10
|
|
36
|
sub _states { qw[normal super fire shell mini mega propeller ice penguin] } |
11
|
0
|
|
|
0
|
|
|
sub _items { qw[mushroom flower shell mega_mushroom mini_mushroom propeller_mushroom ice_flower penguinsuit] } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my %__default_behavior = ( |
14
|
|
|
|
|
|
|
damage => 'dead', |
15
|
|
|
|
|
|
|
mushroom => 'super', |
16
|
|
|
|
|
|
|
flower => 'fire', |
17
|
|
|
|
|
|
|
shell => 'shell', |
18
|
|
|
|
|
|
|
mega_mushroom => 'mega', |
19
|
|
|
|
|
|
|
mini_mushroom => 'mini', |
20
|
|
|
|
|
|
|
propeller_mushroom => 'propeller', |
21
|
|
|
|
|
|
|
ice_flower => 'ice', |
22
|
|
|
|
|
|
|
penguinsuit => 'penguin', |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
my %state = ( |
26
|
|
|
|
|
|
|
normal => { %__default_behavior }, |
27
|
|
|
|
|
|
|
super => { |
28
|
|
|
|
|
|
|
%__default_behavior, |
29
|
|
|
|
|
|
|
damage => 'normal', |
30
|
|
|
|
|
|
|
mushroom => 'save', |
31
|
|
|
|
|
|
|
}, |
32
|
|
|
|
|
|
|
fire => { |
33
|
|
|
|
|
|
|
%__default_behavior, |
34
|
|
|
|
|
|
|
damage => 'normal', |
35
|
|
|
|
|
|
|
flower => 'save', |
36
|
|
|
|
|
|
|
mushroom => 'save', |
37
|
|
|
|
|
|
|
}, |
38
|
|
|
|
|
|
|
shell => { |
39
|
|
|
|
|
|
|
%__default_behavior, |
40
|
|
|
|
|
|
|
damage => 'super', |
41
|
|
|
|
|
|
|
mushroom => 'save', |
42
|
|
|
|
|
|
|
flower => 'save', |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
mega => { map { $_ => 'ignore' } keys %__default_behavior }, |
45
|
|
|
|
|
|
|
mini => { %__default_behavior, mini => 'save' }, |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
propeller => { |
48
|
|
|
|
|
|
|
%__default_behavior, |
49
|
|
|
|
|
|
|
damage => 'normal', |
50
|
|
|
|
|
|
|
mushroom => 'save', |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
ice => { |
53
|
|
|
|
|
|
|
%__default_behavior, |
54
|
|
|
|
|
|
|
damage => 'normal', |
55
|
|
|
|
|
|
|
mushroom => 'save', |
56
|
|
|
|
|
|
|
}, |
57
|
|
|
|
|
|
|
penguin => { |
58
|
|
|
|
|
|
|
%__default_behavior, |
59
|
|
|
|
|
|
|
damage => 'normal', |
60
|
|
|
|
|
|
|
mushroom => 'save', |
61
|
|
|
|
|
|
|
}, |
62
|
|
|
|
|
|
|
); |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub games { |
65
|
0
|
|
|
0
|
1
|
|
return ('New Super Mario Bros. Wii'); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
"Go Wigi!"; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |