aboutsummaryrefslogtreecommitdiff
path: root/debug/a_strum.lua.X
blob: 9c764af186cd239b8f8555e4b6d4f9590414b411 (plain)
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
Pos	Lua	>>	Moon
1	 1:[ local reg = require("ability_reg") ] >> 1:[ reg = require "ability_reg" ]
48	 3:[ Ability = reg.Ability ] >> 2:[ import Ability from reg ]
54	 4:[ local mod = ... ] >> 4:[ mod = ... ]
64	 5:[ print("In tubmle, reg is", reg) ] >> 5:[ print("In tubmle, reg is",reg) ]
115	 9:[ local _parent_0 = Ability ] >> 7:[ class Strum extends Ability ]
398	 12:[ local room = world.player_party.room ] >> 20:[ room = world.player_party.room ]
431	 13:[ local my_pos = char.location ] >> 21:[ my_pos = char.location ]
488	 14:[ local char_tbl1, char_tbl2 = nil, nil ] >> 23:[ char_tbl1, char_tbl2 = nil, nil ]
536	 15:[ for distance = 1, 8 do ] >> 24:[ for distance = 1, 8 ]
545	 16:[ char_tbl1 = room:at_location(my_pos + distance) ] >> 25:[ char_tbl1 = room\at_location(my_pos + distance) ]
596	 17:[ char_tbl2 = room:at_location(my_pos - distance) ] >> 26:[ char_tbl2 = room\at_location(my_pos - distance) ]
649	 18:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) then ] >> 27:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) ]
647	 20:[ end ] >> 27:[ if (char_tbl1 and #char_tbl1 > 0) or (char_tbl2 and #char_tbl2 > 0) ]
522	 21:[ end ] >> 24:[ for distance = 1, 8 ]
757	 24:[ print("Doing Strum, party was", party) ] >> 31:[ print("Doing Strum, party was", party) ]
814	 25:[ for _, member in pairs(party.members) do ] >> 32:[ for _, member in pairs(party.members) ]
839	 26:[ member:set_field("hp", member.data.hp + 1) ] >> 33:[ member\set_field("hp",member.data.hp + 1) ]
798	 27:[ end ] >> 32:[ for _, member in pairs(party.members) ]
296	 34:[ _class_0.__parent.__init(self, "Strum", { }) ] >> 15:[ super("Strum",{}) ]
316	 35:[ self.requirements = { ] >> 16:[ @requirements = { ]
338	 37:[ "status", ] >> 17:[ {"status", "active"}, ]
347	 38:[ "active" ] >> 17:[ {"status", "active"}, ]
316	 40:[ } ] >> 16:[ @requirements = { ]
125	 65:[ self.text = "Strum" ] >> 8:[ @text = "Strum" ]
142	 66:[ self.description = "Strum a cord to heal the troupe!" ] >> 9:[ @description = "Strum a cord to heal the troupe!" ]
193	 67:[ self.hits_icon = { ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
207	 68:[ 1, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
209	 69:[ 1, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
211	 70:[ 1, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
213	 71:[ 1, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
215	 72:[ 0, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
217	 73:[ 0, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
219	 74:[ 0, ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
221	 75:[ 0 ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
193	 76:[ } ] >> 10:[ @hits_icon = {1,1,1,1,0,0,0,0} ]
225	 77:[ self.sprite = "data/g-clef.png" ] >> 11:[ @sprite = "data/g-clef.png" ]
254	 78:[ self.speed = 1 ] >> 12:[ @speed = 1 ]
266	 79:[ self.distance = 1 ] >> 13:[ @distance = 1 ]
882	 85:[ mod.Tumble = Tumble ] >> 35:[ mod.Tumble = Tumble ]
903	 86:[ return mod ] >> 37:[ mod ]