Frame 2
if (this.getBytesTotal() <= this.getBytesLoaded()) {
this.gotoAndPlay(11);
}
Frame 3
LoadingBar._visible = false;
this.onEnterFrame = function () {
var _local2 = this.getBytesTotal();
var _local4 = this.getBytesLoaded();
this.LoadingBar.bar._x = (((_local4 * 224) / _local2) - 112) - (this.LoadingBar.bar._width / 2);
this.LoadingBar._visible = true;
if (_local2 <= _local4) {
var _local3;
_local3 = new Sound();
_local3.setVolume(0);
this.LoadingBar._visible = false;
this.gotoAndPlay(11);
delete this.onEnterFrame;
}
};
_quality = "HIGH";
stop();
Frame 11
var snd;
snd = new Sound();
snd.stop();
snd.setVolume(100);
delete snd;
Frame 13
var app = (new jp.bambooshootdesign.app.heavymetalgirl.HeavyMetalGirl());
app.init();
var gm = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__GameMode();
gm.setRankingMode();
this.onEnterFrame = function () {
app.move();
};
fscommand ("showmenu ", false);
stop();
Symbol 82 MovieClip [DebugMC] Frame 1
stop();
Symbol 86 MovieClip [FPSMC] Frame 1
stop();
Symbol 554 MovieClip Frame 30
gotoAndPlay (1);
Symbol 930 MovieClip [ShockwaveLogoMC] Frame 114
stop();
Symbol 1810 MovieClip Frame 30
gotoAndPlay (1);
Symbol 3034 MovieClip Frame 1
stop();
Symbol 3035 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.HeavyMetalGirl] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.HeavyMetalGirl
{
var m_mode, m_fpsManager, m_flowObject, m_oldFlowObject;
function HeavyMetalGirl () {
m_mode = AFM_START;
}
function init() {
var _local3;
jp.bambooshootdesign.util.MovieClipFactory.init();
jp.bambooshootdesign.util.MovieClipFactory.append(_root, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_TOP_NUM);
_local3 = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_GAME, "NoMaskMC", "MASK");
jp.bambooshootdesign.util.MovieClipFactory.append(_local3.dummy, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN_NUM);
_local3._visible = true;
_local3 = jp.bambooshootdesign.util.MovieClipFactory.get(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN + 0);
jp.bambooshootdesign.util.MovieClipFactory.append(_local3, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_GAME_NUM);
_local3 = jp.bambooshootdesign.util.MovieClipFactory.get(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN + 1);
jp.bambooshootdesign.util.MovieClipFactory.append(_local3, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_GAME_NUM);
jp.bambooshootdesign.util.MovieClipFactory.setBasePosition(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND);
jp.bambooshootdesign.util.MovieClipFactory.setBaseNumber(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_GAME_NUM);
jp.bambooshootdesign.util.MovieClipFactory.setGroupPos(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN);
jp.bambooshootdesign.util.MovieClipFactory.reset();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.initFirst();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.init();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.init();
var _local4 = false;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.init(0, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.setActive(_local4);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.setVisible(_local4);
if (_local4) {
new jp.bambooshootdesign.app.heavymetalgirl.sys.FPS(0, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT - 20);
}
m_fpsManager = new jp.bambooshootdesign.app.heavymetalgirl.sys.FpsManager(30);
m_flowObject = undefined;
m_oldFlowObject = undefined;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setSpeed(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate());
}
function move() {
var _local2;
var _local3;
_local2 = m_mode;
do {
_local3 = false;
switch (_local2) {
case AFM_START :
_local2 = AFM_SWLOGO;
_local3 = true;
break;
case AFM_SWLOGO :
_quality = "HIGH";
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowPublisherLogo(undefined);
_local2 = AFM_SWLOGO_LOOP;
_local3 = true;
break;
case AFM_SWLOGO_LOOP :
if (moveFlowObject()) {
m_flowObject.destroy();
delete m_flowObject;
_local2 = AFM_BAMBOOLOGO;
_local3 = true;
}
break;
case AFM_BAMBOOLOGO :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowMakerLogo(undefined);
_local2 = AFM_BAMBOOLOGO_LOOP;
_local3 = true;
break;
case AFM_BAMBOOLOGO_LOOP :
if (moveFlowObject()) {
m_flowObject.destroy();
delete m_flowObject;
_local2 = AFM_TITLE;
_local3 = true;
_quality = "LOW";
}
break;
case AFM_TITLE :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowTitle(m_oldFlowObject);
_local2 = AFM_TITLE_LOOP;
_local3 = true;
break;
case AFM_TITLE_LOOP :
if (moveFlowObject()) {
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_START :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.initGame();
_local2 = AFM_STAGESTART;
_local3 = true;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.continueGameLoop();
_local2 = AFM_GAMEMAIN;
_local3 = true;
break;
}
}
break;
case AFM_STAGESTART :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageStart(m_oldFlowObject);
_local2 = AFM_STAGESTART_LOOP;
_local3 = true;
break;
case AFM_STAGESTART_LOOP :
if (moveFlowObject()) {
_local2 = AFM_GAMEMAIN;
_local3 = true;
}
break;
case AFM_GAMEMAIN :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.initStage();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameMain(m_oldFlowObject);
_local2 = AFM_GAMEMAIN_LOOP;
_local3 = true;
break;
case AFM_GAMEMAIN_LOOP :
if (moveFlowObject()) {
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_GAMEOVER :
_local2 = AFM_GAMEOVER;
_local3 = true;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_STAGECLEAR :
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isLastStage() && (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isLastFloor())) {
_local2 = AFM_GAMECLEAR;
} else if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isLastFloor()) {
_local2 = AFM_STAGECLEAR;
} else {
_local2 = AFM_FLOORCLEAR;
}
_local3 = true;
break;
}
}
break;
case AFM_FLOORCLEAR :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowFloorClear(m_oldFlowObject);
_local2 = AFM_FLOORCLEAR_LOOP;
_local3 = true;
break;
case AFM_FLOORCLEAR_LOOP :
if (moveFlowObject()) {
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.clearStage();
_local2 = AFM_GAMEMAIN;
break;
default :
}
}
break;
case AFM_STAGECLEAR :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageClear(m_oldFlowObject);
_local2 = AFM_STAGECLEAR_LOOP;
_local3 = true;
break;
case AFM_STAGECLEAR_LOOP :
if (moveFlowObject()) {
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.clearStage();
_local2 = AFM_STAGESTART;
break;
default :
}
}
break;
case AFM_GAMEOVER :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.endGame();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameOver(m_oldFlowObject);
_local2 = AFM_GAMEOVER_LOOP;
_local3 = true;
break;
case AFM_GAMEOVER_LOOP :
if (moveFlowObject()) {
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_TITLE :
_local2 = AFM_TITLE;
_local3 = true;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.continueGameLoop();
_local2 = AFM_GAMEMAIN;
_local3 = true;
break;
}
}
break;
case AFM_GAMECLEAR :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
jp.bambooshootdesign.util.MovieClipFactory.flip();
m_oldFlowObject = m_flowObject;
m_flowObject = new jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameClear(m_oldFlowObject);
_local2 = AFM_GAMECLEAR_LOOP;
_local3 = true;
break;
case AFM_GAMECLEAR_LOOP :
if (!moveFlowObject()) {
break;
}
switch (m_flowObject.getResult()) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.clearGame();
_local2 = AFM_GAMEMAIN;
_local3 = true;
break;
default :
}
}
} while (_local3);
m_mode = _local2;
}
function moveFlowObject() {
var _local3 = m_flowObject.getMode();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.reset();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.move();
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isPause() != m_fpsManager.isPause()) {
m_fpsManager.pause();
}
if (!jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isPause()) {
var _local2;
var _local4 = getTimer();
_local2 = m_fpsManager.getLoopCount();
while (_local2 > 0) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.move();
m_flowObject.move(_local3);
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.output(("ScriptTime: " + (getTimer() - _local4)) + "ms");
}
m_flowObject.disp(_local3);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.disp();
return(m_flowObject.isEnd());
}
static var AFM_START = 0;
static var AFM_SWLOGO = 1;
static var AFM_SWLOGO_LOOP = 2;
static var AFM_BAMBOOLOGO = 3;
static var AFM_BAMBOOLOGO_LOOP = 4;
static var AFM_TITLE = 5;
static var AFM_TITLE_LOOP = 6;
static var AFM_STAGESTART = 7;
static var AFM_STAGESTART_LOOP = 8;
static var AFM_GAMEMAIN = 9;
static var AFM_GAMEMAIN_LOOP = 10;
static var AFM_FLOORCLEAR = 11;
static var AFM_FLOORCLEAR_LOOP = 12;
static var AFM_STAGECLEAR = 13;
static var AFM_STAGECLEAR_LOOP = 14;
static var AFM_GAMEOVER = 15;
static var AFM_GAMEOVER_LOOP = 16;
static var AFM_GAMECLEAR = 17;
static var AFM_GAMECLEAR_LOOP = 18;
}
Symbol 3036 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.Flow] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.Flow
{
var m_mode, m_preFlow, m_context, m_result, m_isDestroy;
function Flow (mode, preFlow) {
m_mode = mode;
m_preFlow = preFlow;
m_context = new jp.bambooshootdesign.app.heavymetalgirl.sys.Context(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getAttr(), jp.bambooshootdesign.util.MovieClipFactory.getBase());
m_result = 0;
m_isDestroy = false;
}
function move(mode) {
}
function disp(mode) {
}
function isEnd() {
return(m_result != 0);
}
function destroy() {
m_isDestroy = true;
}
function event(id) {
m_result = id;
}
function getResult() {
return(m_result);
}
function getMode() {
return(m_mode);
}
function isDestroy() {
return(m_isDestroy);
}
function getContext() {
return(m_context);
}
static var FM_TITLE = 0;
static var FM_STAGESTART = 1;
static var FM_GAME = 2;
static var FM_FLOORCLEAR = 3;
static var FM_STAGECLEAR = 4;
static var FM_GAMEOVER = 5;
static var FM_GAMECLEAR = 6;
static var FM_OTHER = 7;
}
Symbol 3037 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Context] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Context
{
var m_attr, m_base;
function Context (attr, base) {
m_attr = attr;
m_base = base;
}
function getAttr() {
return(m_attr);
}
function getBase() {
return(m_base);
}
}
Symbol 3038 MovieClip [__Packages.jp.bambooshootdesign.sys.WorkList] Frame 0
class jp.bambooshootdesign.sys.WorkList
{
var m_list, m_attr;
function WorkList () {
m_list = new jp.bambooshootdesign.util.List();
}
function setAttr(attr) {
m_attr = attr;
}
function append(obj) {
return(m_list.push(obj, m_attr));
}
function appendWithAttr(obj, attr) {
return(m_list.push(obj, attr));
}
function cut(obj) {
obj.cut();
}
function callMove() {
var _local2 = m_list.getFirst();
var _local4 = [];
var _local3;
while (!m_list.isLast(_local2)) {
if (!_local2.m_data.move()) {
_local4.push(_local2);
}
_local2 = _local2.m_next;
}
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local4[_local3].m_data.destroy();
_local3--;
}
}
function callCtrl() {
var _local2 = m_list.getFirst();
var _local4 = [];
var _local3;
while (!m_list.isLast(_local2)) {
if (!_local2.m_data.ctrl()) {
_local4.push(_local2);
}
_local2 = _local2.m_next;
}
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local4[_local3].m_data.destroy();
_local3--;
}
}
function callDisp() {
var _local2 = m_list.getFirst();
while (!m_list.isLast(_local2)) {
_local2.m_data.disp();
_local2 = _local2.m_next;
}
}
function callDestroy() {
var _local2 = m_list.getFirst();
while (!m_list.isLast(_local2)) {
_local2.m_data.destroy();
_local2 = m_list.getFirst();
}
}
function callDestroyByAttr(attr) {
var _local2 = m_list.getFirst();
var _local4 = [];
var _local3;
while (!m_list.isLast(_local2)) {
if (_local2.getAttr() == attr) {
_local4.push(_local2);
}
_local2 = _local2.m_next;
}
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local4[_local3].m_data.destroy();
_local3--;
}
}
}
Symbol 3039 MovieClip [__Packages.jp.bambooshootdesign.util.List] Frame 0
class jp.bambooshootdesign.util.List
{
var m_top, m_last;
function List () {
m_top = new jp.bambooshootdesign.util.ListItem(undefined);
m_last = new jp.bambooshootdesign.util.ListItem(undefined);
m_top.m_next = m_last;
m_last.m_prev = m_top;
}
function push(data, attr) {
var _local3;
var _local2;
_local2 = new jp.bambooshootdesign.util.ListItem(data, attr);
_local3 = m_last.m_prev;
m_last.m_prev = _local2;
_local3.m_next = _local2;
_local2.m_prev = _local3;
_local2.m_next = m_last;
return(_local2);
}
function pop() {
var _local2;
var _local3;
_local2 = m_last.m_prev;
_local2.m_prev.m_next = m_last;
m_last.m_prev = _local2.m_prev;
_local3 = _local2.get();
return(_local3);
}
function unshift(data, attr) {
var _local3;
var _local2;
_local2 = new jp.bambooshootdesign.util.ListItem(data, attr);
_local3 = m_top.m_next;
m_top.m_next = _local2;
_local3.m_prev = _local2;
_local2.m_prev = m_top;
_local2.m_next = _local3;
return(_local2);
}
function shift() {
var _local2;
var _local3;
_local2 = m_top.m_next;
_local2.m_next.m_prev = m_top;
m_top.m_next = _local2.m_next;
_local3 = _local2.get();
return(_local3);
}
function cut(data) {
data.cut();
}
function getFirst() {
return(m_top.m_next);
}
function isLast(data) {
return(data == m_last);
}
function getLength() {
var _local3;
var _local2;
_local2 = m_top;
_local3 = 0;
while (_local2.m_next != m_last) {
_local2 = _local2.m_next;
_local3++;
}
return(_local3);
}
}
Symbol 3040 MovieClip [__Packages.jp.bambooshootdesign.util.ListItem] Frame 0
class jp.bambooshootdesign.util.ListItem
{
var m_prev, m_next, m_data, m_attr;
function ListItem (data, attr) {
m_prev = undefined;
m_next = undefined;
m_data = data;
m_attr = attr;
}
function get() {
return(m_data);
}
function cut() {
m_prev.m_next = m_next;
m_next.m_prev = m_prev;
}
function getAttr() {
return(m_attr);
}
}
Symbol 3041 MovieClip [__Packages.jp.bambooshootdesign.sys.Listener] Frame 0
interface jp.bambooshootdesign.sys.Listener
{
}
Symbol 3042 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener] Frame 0
interface jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener extends jp.bambooshootdesign.sys.Listener
{
}
Symbol 3043 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Player] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Player implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_hp, m_clockTime, m_skateTime, m_speakerTime, m_context, m_x, m_y, m_status, m_dir, m_count, m_acc, m_inertia, m_cst, m_hitCount, m_isHit, m_area, m_lock, m_action, m_actionCount, m_visible, m_moveMode, m_mc, m_jumpAttackCount, m_actionParam;
function Player () {
}
function initParam() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__PlayerHp(HP_MAX);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__ClockTime(0);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__SkateTime(0);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__SpeakerTime(0);
}
function saveParam() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__PlayerHp(m_hp);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__ClockTime(m_clockTime);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__SkateTime(m_skateTime);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__set__SpeakerTime(m_speakerTime);
}
function init(context) {
m_context = context;
m_x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT - 200;
m_status = STATUS_NORMAL;
m_dir = DIR_LEFT;
m_count = 0;
m_acc = 0;
m_inertia = 0;
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = (m_cst.nx = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2);
m_cst.y = (m_cst.ny = 0);
m_hitCount = 0;
m_isHit = false;
m_area = {};
m_area.m_x = 0;
m_area.m_y = 0;
m_area.m_w = HIT_WIDTH;
m_area.m_h = HIT_HEIGHT;
m_hp = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.PlayerHp;
m_clockTime = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ClockTime;
m_skateTime = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SkateTime;
m_speakerTime = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SpeakerTime;
m_lock = true;
m_action = -1;
m_actionCount = 0;
m_visible = false;
m_moveMode = MOVE_NORMAL;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_PLAYER, "PlayerMC", "PC", m_context.getBase());
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
Key.addListener(this);
}
function move() {
var _local3;
m_isHit = false;
if (m_action >= 0) {
_local3 = action();
} else {
_local3 = getKeyCode();
}
if (m_moveMode == MOVE_NORMAL) {
nomalMove(_local3);
}
if (m_hitCount > 0) {
m_hitCount--;
}
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.isStart()) {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_clockTime = m_clockTime - _local2;
if (m_clockTime < 0) {
m_clockTime = 0;
}
m_skateTime = m_skateTime - _local2;
if (m_skateTime < 0) {
m_skateTime = 0;
}
m_speakerTime = m_speakerTime - _local2;
if (m_speakerTime < 0) {
m_speakerTime = 0;
}
if (m_clockTime > 0) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(500);
} else {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(1000);
}
}
}
function nomalMove(code) {
var _local3;
var _local4;
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
_local3 = NORMAL_SPEED;
if ((m_skateTime > 0) && (m_action < 0)) {
_local4 = SKATE_SPEED;
} else {
_local4 = NORMAL_SPEED;
}
if (m_status == STATUS_NORMAL) {
m_count++;
if ((code & KEY_LEFT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_LEFT;
m_count = 0;
m_cst.nx = m_cst.nx - _local4;
} else if ((code & KEY_RIGHT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_RIGHT;
m_count = 0;
m_cst.nx = m_cst.nx + _local4;
}
if ((code & KEY_UP) != 0) {
if (m_status == STATUS_WALK) {
m_inertia = _local3;
} else {
m_inertia = 0;
}
m_status = STATUS_JUMP;
m_count = 0;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
} else if ((code & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
m_jumpAttackCount = 0;
}
} else if (m_status == STATUS_WALK) {
m_count++;
if ((code & KEY_LEFT) != 0) {
m_dir = DIR_LEFT;
m_cst.nx = m_cst.nx - _local4;
} else if ((code & KEY_RIGHT) != 0) {
m_dir = DIR_RIGHT;
m_cst.nx = m_cst.nx + _local4;
}
if (code == 0) {
m_status = STATUS_NORMAL;
m_count = 0;
}
if ((code & KEY_UP) != 0) {
if (m_status == STATUS_WALK) {
m_inertia = _local3;
} else {
m_inertia = 0;
}
m_status = STATUS_JUMP;
m_count = 0;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
} else if ((code & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
m_jumpAttackCount = 0;
}
} else if (m_status == STATUS_ATTACK) {
m_count++;
if (m_count >= ATTACK_TIME) {
m_status = STATUS_NORMAL;
m_count = 0;
} else if (m_count > ATTACK_RIGID_TIME) {
if ((code & KEY_LEFT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_LEFT;
m_count = 0;
m_cst.nx = m_cst.nx - _local4;
} else if ((code & KEY_RIGHT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_RIGHT;
m_count = 0;
m_cst.nx = m_cst.nx + _local4;
}
if ((code & KEY_UP) != 0) {
if (m_status == STATUS_WALK) {
m_inertia = _local3;
} else {
m_inertia = 0;
}
m_status = STATUS_JUMP;
m_count = 0;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
m_jumpAttackCount = 0;
} else if ((code & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
}
} else if (m_count == ATTACK_RIGID_TIME) {
if ((code & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
}
} else if (m_count == ATTACK_SHOT_TIME) {
var _local8;
var _local7;
var _local6;
var _local5;
_local8 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(((m_dir == DIR_LEFT) ? 180 : 0));
_local7 = ATTACK_WAVE_POWER;
_local6 = ATTACK_WAVE_SPEED;
_local5 = ATTACK_WAVE_TIME;
if (m_speakerTime > 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot02(m_context, m_cst.x, m_cst.y - (MC_HEIGHT / 2), _local8, _local6, _local7, _local5 * 2);
} else {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot01(m_context, m_cst.x, m_cst.y - (MC_HEIGHT / 2), _local8, _local6, _local7, _local5);
}
new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerReaction(m_context, m_cst.x, m_cst.y - (MC_HEIGHT / 2), _local8);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MyShot");
}
} else if (m_status == STATUS_JUMP) {
m_count++;
if (m_dir == DIR_LEFT) {
if ((code & KEY_LEFT) != 0) {
m_inertia++;
} else if ((code & KEY_RIGHT) != 0) {
m_inertia--;
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > _local3) {
m_inertia = _local3;
}
m_cst.nx = m_cst.nx - m_inertia;
} else if (m_dir == DIR_RIGHT) {
if ((code & KEY_LEFT) != 0) {
m_inertia--;
} else if ((code & KEY_RIGHT) != 0) {
m_inertia++;
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > _local3) {
m_inertia = _local3;
}
m_cst.nx = m_cst.nx + m_inertia;
}
if (m_jumpAttackCount > 0) {
m_jumpAttackCount++;
}
if ((code & KEY_BULLET) != 0) {
if (m_jumpAttackCount == 0) {
m_jumpAttackCount = 1;
}
}
if (m_jumpAttackCount == ATTACK_SHOT_TIME) {
var _local8 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(((m_dir == DIR_LEFT) ? 180 : 0));
var _local7 = ATTACK_WAVE_POWER;
var _local6 = ATTACK_WAVE_SPEED;
var _local5 = ATTACK_WAVE_TIME;
if (m_speakerTime > 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot02(m_context, m_cst.x, m_cst.y - (MC_HEIGHT / 2), _local8, _local6, _local7, _local5 * 2);
} else {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot01(m_context, m_cst.x, m_cst.y - (MC_HEIGHT / 2), _local8, _local6, _local7, _local5);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MyShot");
}
m_cst.ny = m_cst.ny - (m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 11));
m_acc = m_acc - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2));
} else if (m_status == STATUS_FALL) {
m_count++;
if (m_dir == DIR_LEFT) {
if ((code & KEY_LEFT) != 0) {
m_inertia++;
} else if ((code & KEY_RIGHT) != 0) {
m_inertia--;
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > (_local3 / 2)) {
m_inertia = _local3 / 2;
}
m_cst.nx = m_cst.nx - m_inertia;
} else if (m_dir == DIR_RIGHT) {
if ((code & KEY_LEFT) != 0) {
m_inertia--;
} else if ((code & KEY_RIGHT) != 0) {
m_inertia++;
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > (_local3 / 2)) {
m_inertia = _local3 / 2;
}
m_cst.nx = m_cst.nx + m_inertia;
}
m_cst.ny = m_cst.ny - (m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 10));
m_acc = m_acc - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2));
} else if (m_status == STATUS_DAMAGE) {
m_count++;
if (m_cst.idx == -1) {
m_cst.ny = m_cst.ny - (m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 10));
m_acc = m_acc - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2));
}
if (m_count >= DAMAGE_MOTION_TIME) {
m_status = STATUS_NORMAL;
m_count = 0;
}
} else if (m_status == STATUS_DEAD) {
m_count++;
if (m_cst.idx == -1) {
m_cst.ny = m_cst.ny - (m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 10));
m_acc = m_acc - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2));
}
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.check(m_cst);
if ((m_status == STATUS_FALL) || ((m_status == STATUS_JUMP) && (m_acc < 0))) {
if (m_cst.idx != -1) {
m_status = STATUS_NORMAL;
m_count = 0;
m_jumpAttackCount = 0;
}
}
if ((m_status == STATUS_NORMAL) || (m_status == STATUS_WALK)) {
if (m_cst.idx == -1) {
m_status = STATUS_FALL;
m_count = 0;
m_acc = 0;
m_inertia = m_count / 5;
if (m_inertia > (_local3 / 2)) {
m_inertia = _local3 / 2;
}
}
}
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY :
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_SHOT :
m_isHit = true;
}
}
function ctrl() {
if (m_isHit) {
if ((m_hitCount <= 0) && (m_hp > 0)) {
m_hp--;
if (m_hp <= 0) {
m_status = STATUS_DEAD;
m_acc = 0;
m_count = 0;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER);
} else {
m_status = STATUS_DAMAGE;
m_acc = 0;
m_count = 0;
m_hitCount = DAMAGE_MATCHLESS_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Defense");
}
}
}
}
function disp() {
switch (m_status) {
case STATUS_NORMAL :
dispLoopAnime(MOTION_NORMAL);
break;
case STATUS_WALK :
dispLoopAnime(MOTION_WALK);
break;
case STATUS_ATTACK :
dispLoopAnime(MOTION_ATTACK);
break;
case STATUS_JUMP :
dispOneTimeAnime(MOTION_JUMP);
break;
case STATUS_FALL :
dispOneTimeAnime(MOTION_FALL);
break;
case STATUS_DAMAGE :
dispOneTimeAnime(MOTION_DAMAGE);
break;
case STATUS_DEAD :
dispOneTimeAnime(MOTION_DEAD);
}
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny - (MC_HEIGHT / 2);
m_mc._xscale = ((m_dir == DIR_LEFT) ? -100 : 100);
m_mc._visible = m_visible;
m_mc._alpha = (((m_hitCount & 1) == 0) ? 100 : 50);
var _local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Debug();
var _local2 = "";
_local3.output("N:\u30D5\u30ED\u30A2\u3092\u9032\u3081\u308B H:HP\u6E80\u30BF\u30F3 D:\u30C0\u30E1\u30FC\u30B8 C:\u6575\u524A\u9664");
_local3.output("Key:" + getKeyCode());
if (_local3.isActive()) {
_local2 = _local2 + "Player ";
_local2 = _local2 + "Status: ";
switch (m_status) {
case STATUS_NORMAL :
_local2 = _local2 + "NORMAL";
break;
case STATUS_WALK :
_local2 = _local2 + "WALK ";
break;
case STATUS_JUMP :
_local2 = _local2 + "JUMP ";
break;
case STATUS_FALL :
_local2 = _local2 + "FALL ";
break;
case STATUS_ATTACK :
_local2 = _local2 + "ATTACK";
break;
case STATUS_DAMAGE :
_local2 = _local2 + "DAMAGE";
}
_local2 = _local2 + " ";
_local2 = _local2 + ("Land: " + jp.bambooshootdesign.util.Str.right(jp.bambooshootdesign.util.Str.toStr(m_cst.idx), 3));
_local2 = _local2 + " ";
_local2 = _local2 + ((("Pos: " + jp.bambooshootdesign.util.Str.right(jp.bambooshootdesign.util.Str.toStr(Math.floor(m_cst.x)), 4)) + ",") + jp.bambooshootdesign.util.Str.right(jp.bambooshootdesign.util.Str.toStr(Math.floor(m_cst.y)), 4));
_local3.output(_local2);
}
}
function dispLoopAnime(idx) {
m_mc.gotoAndStop(idx);
m_mc.mc.gotoAndStop((m_count % m_mc.mc._totalframes) + 1);
}
function dispOneTimeAnime(idx) {
m_mc.gotoAndStop(idx);
if (m_count >= m_mc.mc._totalframes) {
m_mc.mc.gotoAndStop(m_mc.mc._totalframes);
} else {
m_mc.mc.gotoAndStop((m_count % m_mc.mc._totalframes) + 1);
}
}
function destroy() {
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
}
function setPosition(x, y) {
m_x = x;
m_y = y;
}
function getPosition() {
return({x:m_cst.nx, y:m_cst.ny - (MC_HEIGHT / 2)});
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny;
return(m_area);
}
function isActive() {
return((m_hitCount == 0) && (m_hp > 0));
}
function isAlive() {
return(m_hp > 0);
}
function calcSpeed(spd) {
return(spd);
}
function getFloorIndex() {
return(m_cst.idx);
}
function getPower() {
return(m_hp);
}
function getType() {
return(jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY);
}
function getClockTime() {
return(m_clockTime);
}
function getSkateTime() {
return(m_skateTime);
}
function getSpeakerTime() {
return(m_speakerTime);
}
function getPowerUpItem(type) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_CLOCK :
m_clockTime = CLOCK_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("PowerUp");
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 100);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_HEART :
if (m_hp < HP_MAX) {
m_hp++;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Recovery");
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 100);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_SKATE :
m_skateTime = SKATE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("PowerUp");
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 100);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_SPEAKER :
m_speakerTime = SPEAKER_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("PowerUp");
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 100);
}
}
function getScoreItem(type) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore.SCI_1 :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(200);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 200);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("ScoreItem");
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore.SCI_2 :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(1000);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (MC_HEIGHT / 2), 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("ScoreItem");
}
}
function setAction(act, param) {
switch (act) {
case "Lock" :
m_lock = true;
break;
case "Unlock" :
m_lock = false;
break;
case "Show" :
m_visible = true;
break;
case "Hide" :
m_visible = false;
break;
case "In" :
m_action = ACTION_IN;
m_actionCount = 0;
m_actionParam = param;
m_cst.x = (m_cst.nx = m_actionParam.sx);
m_cst.y = (m_cst.ny = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getCollisionData(m_actionParam.idx).y);
m_cst.idx = m_actionParam.idx;
break;
case "Out" :
m_action = ACTION_OUT;
m_actionCount = 0;
m_actionParam = param;
break;
case "Destroy" :
m_action = ACTION_DESTROY;
m_actionCount = 0;
}
m_actionParam = param;
}
function action() {
var _local2;
_local2 = 0;
switch (m_action) {
case ACTION_DESTROY :
destroyAction();
break;
case ACTION_OUT :
_local2 = outAction();
break;
case ACTION_IN :
_local2 = inAction();
}
return(_local2);
}
function isLock() {
return(m_lock || (m_action >= 0));
}
function inAction() {
var _local2;
var _local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local2 = 0;
if (m_cst.nx < m_actionParam.x) {
_local2 = KEY_RIGHT;
} else {
m_cst.nx = m_actionParam.x;
m_action = -1;
_local3.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN);
}
return(_local2);
}
function outAction() {
var _local2 = 0;
var _local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
if (m_actionCount == 0) {
if (m_cst.idx == -1) {
_local2 = 0;
} else {
m_moveMode = MOVE_EXTRA;
m_status = STATUS_JUMP;
m_count = 0;
m_actionCount++;
}
} else {
m_cst.ny = m_cst.ny - 20;
m_count++;
if (m_cst.ny < 0) {
m_action = -1;
_local3.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR);
}
}
return(_local2);
}
function destroyAction() {
}
function onSceneGraphEvent(eventID, param) {
switch (eventID) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START :
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR :
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER :
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY :
setAction("Out", {});
}
}
function onKeyDown() {
}
function onKeyup() {
}
function getKeyCode() {
var _local2 = 0;
if (!m_lock) {
if (Key.isDown(37)) {
_local2 = _local2 | KEY_LEFT;
}
if (Key.isDown(39)) {
_local2 = _local2 | KEY_RIGHT;
}
if (Key.isDown(38)) {
_local2 = _local2 | KEY_UP;
}
if (Key.isDown(40)) {
_local2 = _local2 | KEY_DOWN;
}
if (Key.isDown(32)) {
_local2 = _local2 | KEY_BULLET;
}
}
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.isActive()) {
if (Key.isDown(96)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(1000);
}
if (Key.isDown(97)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(100);
}
if (Key.isDown(98)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(200);
}
if (Key.isDown(99)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(300);
}
if (Key.isDown(100)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(400);
}
if (Key.isDown(101)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(500);
}
if (Key.isDown(102)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(600);
}
if (Key.isDown(103)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(700);
}
if (Key.isDown(104)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(800);
}
if (Key.isDown(105)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setEnemySpeed(900);
}
if (Key.isDown(78)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.incFloorNum();
}
if (Key.isDown(72)) {
m_hp = HP_MAX;
}
if (Key.isDown(68)) {
m_isHit = true;
}
if (Key.isDown(67)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.forceDestroy();
}
}
return(_local2);
}
static var KEY_LEFT = 1;
static var KEY_RIGHT = 2;
static var KEY_UP = 4;
static var KEY_DOWN = 8;
static var KEY_BULLET = 16;
static var KEY_BOMB = 32;
static var ACTION_DESTROY = 1;
static var ACTION_LEAVE = 2;
static var ACTION_IN = 3;
static var ACTION_OUT = 4;
static var MOTION_NORMAL = 1;
static var MOTION_WALK = 2;
static var MOTION_JUMP = 3;
static var MOTION_FALL = 4;
static var MOTION_ATTACK = 5;
static var MOTION_DAMAGE = 6;
static var MOTION_DEAD = 7;
static var STATUS_NORMAL = 1;
static var STATUS_WALK = 2;
static var STATUS_JUMP = 3;
static var STATUS_FALL = 4;
static var STATUS_ATTACK = 5;
static var STATUS_DAMAGE = 6;
static var STATUS_DEAD = 7;
static var DIR_LEFT = 1;
static var DIR_RIGHT = 2;
static var WALK_SPEED = 5;
static var NORMAL_SPEED = 5;
static var SKATE_SPEED = 10;
static var ATTACK_TIME = 23;
static var ATTACK_SHOT_TIME = 4;
static var ATTACK_RIGID_TIME = 8;
static var JUMP_TIME = 31;
static var ATTACK_WAVE_SPEED = 320;
static var ATTACK_WAVE_POWER = 1;
static var ATTACK_WAVE_TIME = 500;
static var JUMP_HEIGHT = 100;
static var JUMP_SPEED = -100;
static var JUMP_ACC = 100;
static var MC_WIDTH = 64;
static var MC_HEIGHT = 64;
static var HP_MAX = 3;
static var HIT_WIDTH = 32;
static var HIT_HEIGHT = 64;
static var DAMAGE_MATCHLESS_TIME = 60;
static var DAMAGE_MOTION_TIME = 30;
static var CLOCK_TIME = 10000;
static var SKATE_TIME = 10000;
static var SPEAKER_TIME = 10000;
static var MOVE_NORMAL = 0;
static var MOVE_EXTRA = 1;
}
Symbol 3044 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus
{
var idx, md, nx, ny, x, y, cx, cy;
function CollisionStatus () {
idx = -1;
md = MD_NONE;
nx = 0;
ny = 0;
x = 0;
y = 0;
cx = 0;
cy = 0;
}
static var MD_NONE = 0;
static var MD_UP = 1;
static var MD_DOWN = 2;
static var MD_LR = 3;
}
Symbol 3045 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Screen] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Screen
{
function Screen () {
}
static var WIDTH = 640;
static var HEIGHT = 480;
static var GAME_WIDTH = 640;
static var GAME_HEIGHT = 480;
static var OT_MENU = 0;
static var OT_GAME = 1;
static var OT_SYSTEM = 2;
static var OT_UTIL = 3;
static var OT_TOP_NUM = 4;
static var OT_SCREEN = 4;
static var OT_SCREEN_NUM = 2;
static var OT_BACKGROUND = 6;
static var OT_BGSTAR = 7;
static var OT_BGBACK = 8;
static var OT_ENEMY = 9;
static var OT_PLAYER = 10;
static var OT_BULLET = 11;
static var OT_BGFRONT = 12;
static var OT_STATUS = 13;
static var OT_GAME_NUM = 8;
}
Symbol 3046 MovieClip [__Packages.jp.bambooshootdesign.util.MovieClipFactory] Frame 0
class jp.bambooshootdesign.util.MovieClipFactory
{
static var m_idx, m_depthList, m_mcList, m_basePos, m_baseNum, m_baseNow, m_baseGroupPos;
function MovieClipFactory () {
}
static function init() {
m_idx = 0;
m_depthList = [];
m_mcList = [];
m_basePos = -1;
m_baseNum = -1;
m_baseNow = 0;
m_baseGroupPos = 0;
}
static function reset() {
var _local1 = 0;
while (_local1 < m_idx) {
var _local2 = m_mcList[_local1];
m_depthList[_local1] = _local2.getNextHighestDepth();
_local1++;
}
}
static function append(mc, idx) {
var _local1 = 0;
while (_local1 < idx) {
mc.createEmptyMovieClip("mcf" + _local1, _local1);
m_mcList.push(mc["mcf" + _local1]);
m_depthList.push(0);
_local1++;
}
m_idx = m_idx + idx;
}
static function get(mcidx) {
return(m_mcList[mcidx]);
}
static function setBasePosition(pos) {
m_basePos = pos;
}
static function setBaseNumber(num) {
m_baseNum = num;
}
static function flip() {
if (m_baseNow == 0) {
m_baseNow = 1;
} else {
m_baseNow = 0;
}
}
static function setGroupPos(pos) {
m_baseGroupPos = pos;
}
static function setHighDepth(isHigh) {
var _local2;
var _local1;
if (m_baseNow == 0) {
_local2 = m_mcList[m_baseGroupPos];
_local1 = m_mcList[m_baseGroupPos + 1];
} else {
_local2 = m_mcList[m_baseGroupPos + 1];
_local1 = m_mcList[m_baseGroupPos];
}
if ((_local2.getDepth() > _local1.getDepth()) != isHigh) {
_local2.swapDepths(_local1);
}
}
static function getCurrentMC() {
return(m_mcList[m_baseGroupPos + m_baseNow]);
}
static function getCurrentMCDepth() {
return(m_baseGroupPos + m_baseNow);
}
static function getBase() {
return(m_baseNow);
}
static function create(mcidx, idname, name) {
var _local3;
var _local4;
var _local2;
if (name == undefined) {
name = "mcfo";
}
_local4 = m_depthList[mcidx];
_local2 = m_mcList[mcidx];
_local3 = _create(_local2, idname, name, _local4);
m_depthList[mcidx]++;
return(_local3);
}
static function createWithBase(mcidx, idname, name, base) {
mcidx = mcidx + (m_baseNum * base);
return(create(mcidx, idname, name));
}
static function createOnMc(mc, idname, name) {
var _local4;
var _local1;
if (name == undefined) {
name = "mcfo";
}
_local1 = mc.MCF_idx;
if (_local1 == undefined) {
_local1 = 1;
}
_local4 = _create(mc, idname, name, _local1);
mc.MCF_idx = _local1 + 1;
return(_local4);
}
static function _create(mc, idname, name, depth) {
var _local2;
name = (name + "_") + depth;
mc.attachMovie(idname, name, depth);
_local2 = mc[name];
_local2._visible = false;
if (_local2 == undefined) {
}
return(_local2);
}
}
Symbol 3047 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil
{
function AppUtil () {
}
static function getPlayerAngle(x, y) {
var _local1 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
return(Math.atan2(y - _local1.y, _local1.x - x));
}
static function getPlayerAngleAdd(x, y, angle) {
var _local1 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
return(Math.atan2(y - _local1.y, _local1.x - x) + ((Math.PI * angle) / 180));
}
static function getAngle(angle) {
return((Math.PI * angle) / 180);
}
static function hormingAngle(nowAngle, newAngle, maxAngle) {
var _local1;
_local1 = (nowAngle - newAngle) % getAngle(360);
if (_local1 < 0) {
_local1 = _local1 + getAngle(360);
}
if (_local1 > getAngle(180)) {
_local1 = (((getAngle(360) - _local1) > maxAngle) ? (maxAngle) : (getAngle(360) - _local1));
} else {
_local1 = ((_local1 > maxAngle) ? (-maxAngle) : (-_local1));
}
nowAngle = nowAngle + _local1;
return(nowAngle);
}
}
Symbol 3048 MovieClip [__Packages.jp.bambooshootdesign.sys.WorkItem] Frame 0
class jp.bambooshootdesign.sys.WorkItem
{
function WorkItem () {
}
function init() {
}
function reset() {
}
function move() {
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
}
function ctrlAndDisp() {
return(true);
}
}
Symbol 3049 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy extends jp.bambooshootdesign.sys.WorkItem
{
var m_context;
function Enemy (context) {
super();
m_context = context;
}
static var EM_ENEMY = 0;
static var EM_POWERUP = 1;
static var EM_MAX = 2;
}
Symbol 3050 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_hitBullet, m_forceDestroy, m_type, m_hp;
function GameElement (m_context) {
super(m_context);
m_hitBullet = -1;
m_forceDestroy = false;
}
function getType() {
return(m_type);
}
function getPower() {
return(0);
}
function hit(type, power) {
}
function isActive() {
return(false);
}
function isDamage() {
return(false);
}
function getX() {
return(0);
}
function getY() {
return(0);
}
function getArea() {
return({m_x:0, m_y:0, m_w:0, m_h:0});
}
function clearHitBullet() {
m_hitBullet = -1;
}
function hitBullet(bulletNum) {
m_hitBullet = bulletNum;
}
function isSameBullet(bulletNum) {
return(m_hitBullet == bulletNum);
}
function forceDestroy() {
m_forceDestroy = true;
m_hp = 0;
}
static var GET_PLAYER_BODY = 1;
static var GET_PLAYER_SHOT = 2;
static var GET_ENEMY_BODY = 3;
static var GET_ENEMY_SHOT = 4;
static var GET_EXTRA_SHOT = 5;
static var GET_POWERUP = 6;
static var GET_SCORE = 7;
static var GET_FORCEDESTROY = 8;
}
Symbol 3051 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
function Shot (context) {
super(context);
}
function getNumber() {
return(0);
}
static var SG_PLAYER = 0;
static var SG_ENEMY = 1;
static var SG_ENEMY_ALIVE = 2;
static var SG_MAX = 3;
}
Symbol 3052 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot
{
var m_type;
function PlayerShot (context) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT;
}
}
Symbol 3053 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot02 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot
{
var m_x, m_y, m_w, m_h, m_power, m_time, m_area, m_cst, m_speed, m_angle, m_xadd, m_yadd, m_count, m_animeCount, m_mc, m_context, m_wl, m_bg;
function PlayerShot02 (context, x, y, angle, speed, power, time) {
super(context);
m_x = x;
m_y = y;
m_w = 8;
m_h = 8;
m_power = power;
m_time = time;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_speed = speed;
m_angle = angle;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
var _local4;
var _local3;
_local3 = -1;
if (m_yadd != 0) {
if (m_yadd < 0) {
_local3 = Math.floor((((-m_y) - 40) / m_yadd) + 1);
} else {
_local3 = Math.floor((((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 40) - m_y) / m_yadd) + 1);
}
}
if (m_xadd != 0) {
if (m_xadd < 0) {
_local4 = Math.floor(((-m_x) / m_xadd) + 1);
} else {
_local4 = Math.floor(((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - m_x) / m_xadd) + 1);
}
if ((_local3 > _local4) || (_local3 == -1)) {
_local3 = _local4;
}
}
if (_local3 > time) {
_local3 = time;
}
m_count = _local3;
m_animeCount = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "PlayerShot02MC", "PlayerShot02MC", m_context.getBase());
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_PLAYER);
}
function move() {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_x = m_cst.nx;
m_y = m_cst.ny;
m_x = m_x + (m_xadd * _local2);
m_y = m_y + (m_yadd * _local2);
m_count = m_count - _local2;
m_animeCount = m_animeCount + _local2;
m_cst.nx = m_x;
m_cst.ny = m_y;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.checkLand(m_cst);
return((m_count > 0) && (m_cst.idx == -1));
}
function ctrl() {
if (m_power <= 0) {
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny;
m_mc._rotation = -((m_angle / Math.PI) * 180);
m_mc.gotoAndStop((Math.floor(m_animeCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny;
return(m_area);
}
function getPower() {
return(m_power);
}
function hit(type, power) {
if (type == jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY) {
m_power = 0;
}
}
function isActive() {
return(m_power > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
}
Symbol 3054 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerShot
{
var m_x, m_y, m_w, m_h, m_power, m_time, m_area, m_cst, m_speed, m_angle, m_xadd, m_yadd, m_count, m_animeCount, m_mc, m_context, m_wl, m_bg;
function PlayerShot01 (context, x, y, angle, speed, power, time) {
super(context);
m_x = x;
m_y = y;
m_w = 8;
m_h = 8;
m_power = power;
m_time = time;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_speed = speed;
m_angle = angle;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
var _local4;
var _local3;
_local3 = -1;
if (m_yadd != 0) {
if (m_yadd < 0) {
_local3 = Math.floor((((-m_y) - 40) / m_yadd) + 1);
} else {
_local3 = Math.floor((((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 40) - m_y) / m_yadd) + 1);
}
}
if (m_xadd != 0) {
if (m_xadd < 0) {
_local4 = Math.floor(((-m_x) / m_xadd) + 1);
} else {
_local4 = Math.floor(((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - m_x) / m_xadd) + 1);
}
if ((_local3 > _local4) || (_local3 == -1)) {
_local3 = _local4;
}
}
if (_local3 > time) {
_local3 = time;
}
m_count = _local3;
m_animeCount = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "PlayerShot01MC", "PlayerShot01MC", m_context.getBase());
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_PLAYER);
}
function move() {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_x = m_cst.nx;
m_y = m_cst.ny;
m_x = m_x + (m_xadd * _local2);
m_y = m_y + (m_yadd * _local2);
m_count = m_count - _local2;
m_animeCount = m_animeCount + _local2;
m_cst.nx = m_x;
m_cst.ny = m_y;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.checkLand(m_cst);
return((m_count > 0) && (m_cst.idx == -1));
}
function ctrl() {
if (m_power <= 0) {
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny;
m_mc._rotation = -((m_angle / Math.PI) * 180);
m_mc.gotoAndStop((Math.floor(m_animeCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny;
return(m_area);
}
function getPower() {
return(m_power);
}
function hit(type, power) {
if (type == jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY) {
m_power = 0;
}
}
function isActive() {
return(m_power > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
}
Symbol 3055 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerReaction] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlayerReaction extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_mc, m_context, m_count, m_wl;
function PlayerReaction (context, x, y, angle) {
super(context);
m_x = x;
m_y = y;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "PlayerReactionMC", "PlayerReactionMC", m_context.getBase());
m_mc._x = x;
m_mc._y = y;
m_mc._visible = true;
m_mc._xscale = (((angle >= jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(90)) && (angle <= jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(270))) ? -100 : 100);
m_count = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count++;
return(m_count <= m_mc._totalframes);
}
function ctrl() {
return(true);
}
function disp() {
m_mc.gotoAndStop(m_count);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
}
Symbol 3056 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph
{
var m_listener, m_context, m_scenePos, m_activeList, m_time, m_waitTime, m_waitEvent, m_encountEvent, m_labelList, m_isStop, m_frameCount, m_isFrame, m_sceneList;
function SceneGraph () {
m_listener = [];
}
function init(context) {
m_context = context;
m_scenePos = 0;
m_activeList = [];
m_time = 0;
m_waitTime = 0;
m_waitEvent = undefined;
m_encountEvent = undefined;
m_labelList = {};
m_isStop = false;
m_frameCount = 0;
m_isFrame = false;
}
function setScene(sceneList) {
var _local2;
var _local3;
m_sceneList = sceneList;
_local2 = m_sceneList.length - 1;
while (_local2 >= 0) {
_local3 = m_sceneList[_local2];
if (_local3.type == "LABEL") {
m_labelList[_local3.name] = _local2 + 1;
}
_local2--;
}
}
function move() {
var _local2;
var _local3;
var _local5;
var _local4;
if (m_isStop) {
return(undefined);
}
if (((m_waitEvent != undefined) && (m_waitEvent == m_encountEvent)) || ((m_waitEvent == undefined) && (m_time >= m_waitTime))) {
if (m_waitEvent != undefined) {
m_waitEvent = undefined;
m_time = 0;
} else {
m_time = m_time - m_waitTime;
}
do {
if (m_scenePos >= m_sceneList.length) {
break;
}
_local2 = m_sceneList[m_scenePos++];
_local4 = true;
switch (_local2.type) {
case "WAIT" :
m_waitTime = _local2.time;
m_waitEvent = undefined;
_local4 = false;
break;
case "WAITEVENT" :
m_encountEvent = undefined;
m_waitEvent = _local2.id;
_local4 = false;
break;
case "BRANCHEVENT" :
if (_local2.id == m_encountEvent) {
if (_local2.name == undefined) {
m_scenePos = 0;
} else {
m_scenePos = m_labelList[_local2.name];
}
m_time = 0;
}
break;
case "SENDEVENT" :
sendEvent(_local2.id);
break;
case "PLAYER" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.setAction(_local2.action, _local2.param);
break;
case "LABEL" :
break;
case "LOOP" :
if (_local2.name == undefined) {
m_scenePos = 0;
} else {
m_scenePos = m_labelList[_local2.name];
}
break;
case "LEVEL" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setLevelWithLoop(_local2.level, _local2.loop);
break;
case "TIME" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setRestTimeWithLoop(_local2.time, _local2.loop);
break;
case "ATTR" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.updateAttr();
break;
case "FRAME" :
if (_local2.flag == "ON") {
m_isFrame = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setStart(true);
} else {
m_isFrame = false;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setStart(false);
}
break;
default :
m_activeList.push({scene:_local2, time:0, count:0});
}
} while (_local4);
}
_local3 = m_activeList.length - 1;
while (_local3 >= 0) {
_local2 = m_activeList[_local3];
if (_local2.scene.type == "ENEMY") {
_local5 = enemy(_local2);
} else if (_local2.scene.type == "SOUND") {
_local5 = sound(_local2);
}
if (_local5) {
m_activeList.splice(_local3, 1);
}
_local3--;
}
m_time = m_time + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_isFrame) {
m_frameCount++;
}
}
function destroy() {
}
function stop() {
m_isStop = true;
}
function clearActiveList() {
m_activeList = [];
}
function getFrame() {
return(m_frameCount);
}
function enemy(obj) {
var _local8;
if (obj.time >= obj.scene.interval) {
var _local6;
var _local3;
_local6 = {};
for (_local3 in obj.scene.param) {
_local6[_local3] = obj.scene.param[_local3];
}
if (obj.scene.inc != undefined) {
for (_local3 in obj.scene.inc) {
_local6[_local3] = _local6[_local3] + (obj.scene.inc[_local3] * obj.count);
}
}
if (obj.scene.random != undefined) {
for (_local3 in obj.scene.random) {
var _local5;
var _local7;
var _local4;
_local5 = obj.scene.random[_local3].min;
_local7 = obj.scene.random[_local3].max;
_local4 = (Math.random() * (_local7 - _local5)) + _local5;
if (obj.scene.random[_local3].neg != undefined) {
if (Math.random() < 0.5) {
_local4 = -_local4;
}
}
_local6[_local3] = _local4;
}
}
_local6.count = obj.count;
_local8 = jp.bambooshootdesign.app.heavymetalgirl.sys.EnemyFactory.create(m_context, obj.scene.id, _local6, obj.time - obj.scene.interval);
obj.time = obj.time - obj.scene.interval;
obj.count++;
}
obj.time = obj.time + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
return(obj.count >= obj.scene.count);
}
function sound(obj) {
if (obj.scene.action == "PlayMusic") {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playMusic(obj.scene.id, obj.scene.mode);
} else if (obj.scene.action == "FadeOut") {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.fadeOutMusic(obj.scene.id, obj.scene.time);
}
return(true);
}
function onEvent(eventID, param) {
switch (eventID) {
case EID_PLAYER_IN :
case EID_ENEMY_IN :
case EID_GAME_OVER :
case EID_STAGE_CLEAR :
case EID_SC_GAME_START :
m_encountEvent = eventID;
sendEvent(eventID, param);
break;
default :
sendEvent(eventID, param);
}
}
function addListener(listener) {
var _local2;
for (_local2 in m_listener) {
if (listener == m_listener[_local2]) {
return(undefined);
}
}
m_listener.push(listener);
}
function removeListener(listener) {
var _local2;
for (_local2 in m_listener) {
if (listener == m_listener[_local2]) {
m_listener.splice(_local2, 1);
return(undefined);
}
}
}
function sendEvent(eventID, param) {
var _local3;
var _local2;
_local2 = m_listener.length - 1;
while (_local2 >= 0) {
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener(m_listener[_local2]);
_local3.onSceneGraphEvent(eventID, param);
_local2--;
}
}
static var EID_PLAYER_IN = 1;
static var EID_ENEMY_IN = 2;
static var EID_GAME_START = 3;
static var EID_GAME_OVER = 4;
static var EID_STAGE_CLEAR = 5;
static var EID_GAME_END = 6;
static var EID_ENEMY_DESTROY = 7;
static var EID_STAGE_FINISH = 8;
static var EID_FLOW_START = 10;
static var EID_FLOW_CONTINUE = 11;
static var EID_FLOW_STAGECLEAR = 12;
static var EID_FLOW_GAMEOVER = 13;
static var EID_FLOW_TITLE = 14;
static var EID_FLOW_NEXT = 15;
static var EID_STAGECONTROLL = 20;
static var EID_SC_TITLE_IN = 30;
static var EID_SC_TITLE_IN_END = 31;
static var EID_SC_GAME_IN = 40;
static var EID_SC_GAME_IN_END = 41;
static var EID_SC_GAME_START = 42;
static var EID_SC_GAMEOVER_IN = 50;
static var EID_SC_GAMEOVER_IN_END = 51;
static var EID_SC_FLOORCLEAR_IN = 60;
static var EID_SC_FLOORCLEAR_IN_END = 61;
static var EID_SC_STAGECLEAR_IN = 70;
static var EID_SC_STAGECLEAR_IN_END = 71;
static var EID_SC_GAMECLEAR_IN = 80;
static var EID_SC_GAMECLEAR_IN_END = 81;
static var EID_SC_STORY_IN = 90;
static var EID_SC_STORY_IN_END = 91;
static var EID_GAME_NEXT = 100;
}
Symbol 3057 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.EnemyFactory] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.EnemyFactory
{
function EnemyFactory () {
}
static function create(context, id, param, count) {
return(jp.bambooshootdesign.app.heavymetalgirl.enemy[id].create(context, param, count));
}
}
Symbol 3058 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyList] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyList
{
function EnemyList () {
}
}
Symbol 3059 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_total, m_destroy, m_mode, m_isSend, m_count, m_list, m_glay, m_isGlay, m_isHurryUp, m_wl, m_context;
function StageController (context, param) {
super(context);
var _local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
m_total = 0;
m_destroy = 0;
m_mode = MODE_NORMAL;
m_isSend = false;
m_count = 0;
m_list = [];
m_glay = undefined;
m_isGlay = true;
m_isHurryUp = false;
_local3.addListener(this);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
if ((!m_isSend) && (m_total > 0)) {
if (m_total == m_destroy) {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= CLEAR_WAIT_TIME) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.getLength(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_POWERUP) != 0) {
m_count = CLEAR_WAIT_TIME - (CLEAR_WAIT_TIME / 4);
} else {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local2.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY, {});
m_isSend = true;
}
}
destroyGlay();
m_isGlay = false;
}
}
if (m_isGlay && (m_glay == undefined)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRestTime() <= 0) {
m_glay = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Glay01(m_context);
}
}
if ((!m_isHurryUp) && (m_isGlay)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRestTime() < 5000) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.HurryUp(m_context);
m_isHurryUp = true;
}
}
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
_local2.removeListener(this);
delete m_wl;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL) {
switch (param.id) {
case EID_SC_ENEMY_APPEND :
m_list.push(param.obj);
m_total++;
break;
case EID_SC_ENEMY_DESTROY :
var _local2;
_local2 = m_list.length - 1;
while (_local2 >= 0) {
if (m_list[_local2] == param.obj) {
m_list.splice(_local2, 1);
break;
}
_local2--;
}
var _local11 = jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase(param.obj);
var _local9;
var _local7;
var _local6;
var _local4;
var _local5;
var _local10;
var _local8;
_local9 = _local11.getArea();
_local7 = _local9.m_x;
_local6 = (_local9.m_y + _local9.m_h) - 64;
_local4 = (Math.random() * 100) + 200;
_local5 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle((Math.random() * 90) + 45);
_local8 = param.hit;
if (_local8 == 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore.SCI_1, _local7, _local6, _local5, _local4);
} else if (_local8 == 1) {
_local10 = Math.floor(Math.random() * 3);
if (_local10 == 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_CLOCK, _local7, _local6, _local5, _local4);
} else if (_local10 == 1) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_SKATE, _local7, _local6, _local5, _local4);
} else {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_SPEAKER, _local7, _local6, _local5, _local4);
}
} else if (_local8 == 2) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp.PUI_HEART, _local7, _local6, _local5, _local4);
} else if (_local8 >= 3) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore(m_context, jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore.SCI_2, _local7, _local6, _local5, _local4);
}
m_destroy++;
break;
case EID_SC_STAGE_END :
destroyGlay();
m_isGlay = false;
}
}
}
function destroyGlay() {
if (m_glay != undefined) {
m_glay.disappear();
m_glay = undefined;
}
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController(context, param));
}
static var MODE_NORMAL = 0;
static var EID_SC_ENEMY_APPEND = 0;
static var EID_SC_ENEMY_DESTROY = 1;
static var EID_SC_ENEMY_FORCEDESTROY = 2;
static var EID_SC_STAGE_END = 3;
static var CLEAR_WAIT_TIME = 2000;
}
Symbol 3060 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Glay01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Glay01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_type, m_x, m_y, m_width, m_height, m_area, m_hp, m_count, m_active, m_mode, m_appearCount, m_isHit, m_hitDownCount, m_changeTime, m_nextCount, m_speed, m_mc, m_context, m_color, m_wl, m_eg, m_angle, m_xadd, m_yadd, m_dir;
function Glay01 (context) {
super(context);
var _local3;
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
m_x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2) + ((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 4) * ((_local3.x > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2)) ? -1 : 1));
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + ((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 4) * ((_local3.y > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2)) ? -1 : 1));
m_width = 32;
m_height = 32;
m_area = {};
m_hp = 1;
m_count = 0;
m_active = true;
m_mode = MODE_APPEAR;
m_appearCount = 0;
m_isHit = false;
m_hitDownCount = 0;
m_changeTime = CHANGE_TIME_START;
m_nextCount = m_changeTime;
m_speed = MOVE_SPEED_START;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Glay01MC", "Glay01", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, Enemy.EM_ENEMY);
}
function move() {
var _local2;
var _local3;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_hitDownCount = m_hitDownCount - _local2;
if (m_hitDownCount < 0) {
m_hitDownCount = 0;
} else {
_local2 = _local2 / 2;
}
m_count = m_count + _local2;
switch (m_mode) {
case MODE_APPEAR :
m_appearCount = m_appearCount + _local2;
if (m_appearCount >= APPEAR_TIME) {
m_mode = MODE_NORMAL;
m_appearCount = APPEAR_TIME;
m_count = 0;
m_nextCount = 0;
}
break;
case MODE_NORMAL :
if (m_count >= m_nextCount) {
m_changeTime = m_changeTime - CHANGE_TIME_DEC;
if (m_changeTime <= CHANGE_TIME_MIN) {
m_changeTime = CHANGE_TIME_MIN;
}
m_speed = m_speed + MOVE_SPEED_ADD;
if (m_speed >= MOVE_SPEED_MAX) {
m_speed = MOVE_SPEED_MAX;
}
m_angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngle(m_x, m_y);
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
m_dir = ((m_xadd >= 0) ? (DIR_LEFT) : (DIR_RIGHT));
m_nextCount = m_nextCount + m_changeTime;
}
m_x = m_x + (m_xadd * _local2);
m_y = m_y + (m_yadd * _local2);
m_x = jp.bambooshootdesign.util.Util.limitRange(m_x, 16, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - 16);
m_y = jp.bambooshootdesign.util.Util.limitRange(m_y, 16, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT - 16);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.appendEnemy(m_x - (m_width / 2), m_y - (m_height / 2), m_x + (m_width / 2), m_y + (m_height / 2), this);
break;
case MODE_DISAPPEAR :
m_appearCount = m_appearCount - _local2;
if (m_appearCount >= 0) {
break;
}
return(false);
}
m_isHit = false;
return(true);
}
function ctrl() {
if (m_isHit) {
m_hitDownCount = HIT_DOWN_TIME;
}
return(true);
}
function disp() {
var _local2 = COLOR_NORMAL;
m_mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
if (m_dir == DIR_LEFT) {
m_mc._xscale = 100;
} else {
m_mc._xscale = -100;
}
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._alpha = 30;
m_mc._visible = true;
m_mc._yscale = (m_appearCount / APPEAR_TIME) * 100;
if (m_hitDownCount > 0) {
_local2 = COLOR_HIT;
} else {
_local2 = COLOR_NORMAL;
}
m_color.setTransform(_local2);
var _local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Debug();
var _local4 = "";
if (_local3.isActive()) {
_local4 = _local4 + (jp.bambooshootdesign.util.Str.left(m_mc._name, 12) + " ");
_local3.output(_local4);
}
}
function getArea() {
m_area.m_x = m_x;
m_area.m_y = m_y;
m_area.m_w = m_width / 2;
m_area.m_h = m_height / 2;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_isHit = true;
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
m_isHit = true;
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
m_changeTime = CHANGE_TIME_START;
m_speed = MOVE_SPEED_START;
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
function isActive() {
return(true);
}
function isDamage() {
return(false);
}
function disappear() {
m_mode = MODE_DISAPPEAR;
}
static var COLOR_NORMAL = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var COLOR_HIT = {ra:100, rb:100, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var DIR_LEFT = 1;
static var DIR_RIGHT = 2;
static var HIT_DOWN_TIME = 2000;
static var CHANGE_TIME_START = 3000;
static var CHANGE_TIME_DEC = 200;
static var CHANGE_TIME_MIN = 500;
static var MOVE_SPEED_START = 75;
static var MOVE_SPEED_ADD = 5;
static var MOVE_SPEED_MAX = 200;
static var MODE_APPEAR = 0;
static var MODE_NORMAL = 1;
static var MODE_DISAPPEAR = 2;
static var APPEAR_TIME = 1000;
}
Symbol 3061 MovieClip [__Packages.jp.bambooshootdesign.util.Util] Frame 0
class jp.bambooshootdesign.util.Util
{
function Util () {
}
static function limitRange(x, mini, maxi) {
if (x < mini) {
x = mini;
} else if (x > maxi) {
x = maxi;
}
return(x);
}
static function crossPos(y, x1, y1, x2, y2) {
return(x1 + (((y - y1) * (x2 - x1)) / (y2 - y1)));
}
static function crossPos2(x1, y1, x2, y2, x3, y3, x4, y4) {
var _local3;
var _local4;
var _local1;
var _local2;
var _local9;
var _local8;
_local3 = (y2 - y1) / (x2 - x1);
_local4 = y1 - (_local3 * x1);
_local1 = (y4 - y3) / (x4 - x3);
_local2 = y3 - (_local1 * x3);
_local9 = (_local4 - _local2) / (_local1 - _local3);
_local8 = _local2 + (_local1 * _local9);
return({x:_local9, y:_local8});
}
}
Symbol 3062 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Debug] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Debug
{
var m_mc, m_active, m_visible, m_str;
function Debug () {
}
function init(x, y) {
m_mc = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "DebugMC", "Debug");
m_mc._x = x;
m_mc._y = y;
m_active = false;
m_visible = false;
m_str = "";
}
function reset() {
if (m_active) {
m_str = "";
}
}
function setActive(active) {
if (active) {
output = activeOutput;
disp = activeDisp;
} else {
output = undefined;
disp = noDisp;
}
m_active = active;
}
function setVisible(visible) {
m_visible = visible;
}
function activeOutput(str) {
m_str = m_str + (str + newline);
}
function activeDisp() {
m_mc.str = m_str;
m_mc._visible = m_visible;
}
function noDisp() {
m_mc._visible = m_visible;
}
function output() {
}
function disp() {
}
function destroy() {
m_mc.removeMovieClip();
}
function isActive() {
return(m_active);
}
}
Symbol 3063 MovieClip [__Packages.jp.bambooshootdesign.util.Str] Frame 0
class jp.bambooshootdesign.util.Str
{
function Str () {
}
static function space(num) {
var _local2 = "";
var _local1 = 0;
while (_local1 < num) {
_local2 = _local2 + " ";
_local1++;
}
return(_local2);
}
static function left(str, num) {
return(str + space(num - str.length));
}
static function right(str, num) {
return(space(num - str.length) + str);
}
static function toStr(str) {
return("" + str);
}
}
Symbol 3064 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.HurryUp] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.HurryUp extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_mc, m_context, m_x, m_y, m_count, m_wl;
function HurryUp (context) {
super(context);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "HurryUpMC", "HurryUp", m_context.getBase());
m_x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH + (m_mc._width / 2);
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_count = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH + (m_mc._width / 2)) - (((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH + m_mc._width) * m_count) / MOVE_TIME);
return(m_count <= MOVE_TIME);
}
function ctrl() {
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
static var MOVE_TIME = 3000;
}
Symbol 3065 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_type, m_status, m_dir, m_count, m_acc, m_inertia, m_planContext, m_plan, m_planStatus, m_planParam, m_planTime, m_action, m_actionStatus, m_actionParam, m_planTotalFreq, m_planList, m_isHit, m_hitStep, m_hitDownCount, m_hitExtra, m_hitExtraStep, m_hitColorIdx, m_maxHp, m_cst, m_area, m_moveParam, m_moveMode, m_ready, m_speed, m_xadd, m_yadd, m_lastg, m_parent, m_width, m_height, m_actionCode, m_actionCount, m_attackTime, m_attackShot, m_forceDestroy, m_context, m_score, m_mc, m_color;
function MoveEnemyBase (context, param) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_status = STATUS_NORMAL;
m_dir = DIR_LEFT;
m_count = 0;
m_acc = 0;
m_inertia = 0;
m_planContext = [];
m_plan = PLAN_START;
m_planStatus = 0;
m_planParam = {};
m_planTime = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getFrameRate();
m_action = ACTION_MOVABLE_WAIT;
m_actionStatus = 0;
m_actionParam = {};
m_planTotalFreq = 0;
m_planList = [];
for (var _local5 in param.action) {
if (_local5 != "END") {
var _local3 = param.action[_local5];
var _local7;
if ((_local3.freq != undefined) && (_local3.freq > 0)) {
m_planTotalFreq = m_planTotalFreq + _local3.freq;
_local7 = {};
_local7.freq = _local3.freq;
_local7.time = _local3.time;
_local7.id = jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase["PLAN_" + _local5];
m_planList.push(_local7);
}
}
}
m_isHit = false;
m_hitStep = 0;
m_hitDownCount = 0;
m_hitExtra = false;
m_hitExtraStep = 0;
m_hitColorIdx = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getLevel() - 1;
m_maxHp = BASE_HP + m_hitColorIdx;
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_area = {};
setMode("");
if ((param.event != undefined) && (param.event)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_ENEMY_APPEND, obj:this});
}
}
function setMode(mode, param) {
m_moveParam = {};
switch (mode) {
case "NORMAL" :
m_moveMode = MODE_NORMAL;
break;
case "IN" :
m_moveMode = MODE_IN;
m_moveParam.idx = param.idx;
m_cst.x = (m_cst.nx = param.x);
m_cst.y = (m_cst.ny = param.y);
m_ready = false;
break;
case "BOSS" :
m_moveMode = MODE_NORMAL;
m_cst.idx = -1;
m_cst.x = (m_cst.nx = param.x);
m_cst.y = (m_cst.ny = param.y);
if (param.mode == "JUMP") {
m_status = STATUS_JUMP;
m_count = 0;
m_inertia = (m_speed * param.speed) / 100;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
m_dir = ((param.dir == "LEFT") ? (DIR_LEFT) : (DIR_RIGHT));
}
break;
case "SHOT" :
m_moveMode = MODE_SHOT;
m_cst.idx = -1;
m_cst.x = (m_cst.nx = param.x);
m_cst.y = (m_cst.ny = param.y);
m_status = STATUS_JUMP;
m_count = 0;
m_xadd = (Math.cos(param.angle) * param.speed) / 1000;
m_yadd = ((-Math.sin(param.angle)) * param.speed) / 1000;
m_lastg = 0;
m_dir = ((param.angle > jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(90)) ? (DIR_LEFT) : (DIR_RIGHT));
break;
default :
m_moveMode = MODE_NORMAL;
m_cst.x = (m_cst.nx = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2);
m_cst.y = (m_cst.ny = 0);
}
}
function setParent(parent) {
m_parent = parent;
}
function move() {
var _local2;
if (m_moveMode == MODE_NORMAL) {
_local2 = moveNormal();
if (_local2) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.appendEnemy(m_cst.nx - (m_width / 2), m_cst.ny - m_height, m_cst.nx + (m_width / 2), m_cst.ny, this);
}
} else if (m_moveMode == MODE_IN) {
_local2 = moveIn();
} else if (m_moveMode == MODE_SHOT) {
_local2 = moveShot();
if (_local2) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.appendEnemy(m_cst.nx - (m_width / 2), m_cst.ny - m_height, m_cst.nx + (m_width / 2), m_cst.ny, this);
}
}
m_isHit = false;
return(_local2);
}
function moveNormal() {
var _local2;
var _local4;
var _local3;
_local2 = m_count % 1000;
_local3 = _local2 + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed();
do {
if (_local2 == 0) {
m_actionCode = 0;
if (m_status != STATUS_DAMAGE) {
movePlan();
}
}
if (_local3 >= 1000) {
_local4 = 1000 - _local2;
_local2 = 0;
_local3 = _local3 - 1000;
} else {
_local4 = _local3 - _local2;
_local2 = _local3;
}
moveCommand(_local4);
} while (_local3 != _local2);
return(true);
}
function moveIn() {
var _local2;
var _local4;
var _local3;
_local2 = m_count % 1000;
_local3 = _local2 + 1000;
do {
if (_local2 == 0) {
m_actionCode = 0;
}
if (_local3 >= 1000) {
_local4 = 1000 - _local2;
_local2 = 0;
_local3 = _local3 - 1000;
} else {
_local4 = _local3 - _local2;
_local2 = _local3;
}
moveCommand(_local4);
} while (_local3 != _local2);
return(true);
}
function moveShot() {
var _local2;
var _local3;
_local2 = (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate() * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed();
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_cst.nx = m_cst.nx + (m_xadd * _local2);
m_cst.ny = m_cst.ny + (m_yadd * _local2);
_local3 = (GRAVITY * ((m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) / 1000)) * ((m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) / 1000);
m_cst.ny = m_cst.ny + (_local3 - m_lastg);
m_lastg = _local3;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.check(m_cst);
if (m_cst.idx != -1) {
m_moveMode = MODE_NORMAL;
m_status = STATUS_NORMAL;
m_count = 0;
}
return(true);
}
function movePlan() {
var _local9;
var _local7 = false;
var _local8 = 0;
m_planTime--;
do {
if ((m_planStatus == -1) || (m_planTime == 0)) {
if (hasPlan()) {
popPlan();
} else {
var _local5 = Math.floor(Math.random() * m_planTotalFreq);
var _local3;
var _local6 = PLAN_START;
var _local4;
if (m_planTime >= 0) {
_local4 = m_planList.length - 1;
while (_local4 >= 0) {
_local3 = m_planList[_local4];
_local5 = _local5 - _local3.freq;
if (_local5 <= 0) {
_local6 = _local3.id;
break;
}
_local4--;
}
if (_local6 == PLAN_START) {
_local3 = {};
_local3.time = 1;
_local3.id = PLAN_START;
_local3.freq = 0;
}
} else {
_local3 = {};
_local3.time = 1;
_local3.id = PLAN_START;
_local3.freq = 0;
}
m_plan = _local3.id;
m_planTime = _local3.time * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getFrameRate();
m_planStatus = 0;
m_planParam = {};
}
m_actionStatus = -1;
_local7 = true;
}
if (m_actionStatus == -1) {
m_action = ACTION_MOVABLE_WAIT;
m_actionParam = {};
m_actionStatus = 0;
m_actionCount = 0;
_local7 = true;
}
if (_local7) {
var _local2;
do {
_local2 = false;
switch (m_plan) {
case PLAN_START :
_local2 = planStart();
break;
case PLAN_STOP :
_local2 = planStop();
break;
case PLAN_STROLL :
_local2 = planStroll();
break;
case PLAN_BLOCK_LEFT :
_local2 = planBlockLeft();
break;
case PLAN_BLOCK_RIGHT :
_local2 = planBlockRight();
break;
case PLAN_BLOCK_UP :
_local2 = planBlockUp();
break;
case PLAN_BLOCK_DOWN :
_local2 = planBlockDown();
break;
case PLAN_ATTACK_LEFT :
_local2 = planAttackLeft();
break;
case PLAN_ATTACK_RIGHT :
_local2 = planAttackRight();
break;
case PLAN_ATTACK_PLAYER :
_local2 = planAttackPlayer();
break;
case PLAN_SEARCH_PLAYER :
_local2 = planSearchPlayer();
break;
case PLAN_RUN_AWAY :
_local2 = planRunAway();
}
} while (_local2);
m_actionStatus = 0;
m_actionCount = 0;
}
moveAction();
_local8++;
if (_local8 >= 10) {
break;
}
} while ((m_planStatus == -1) || (m_actionStatus == -1));
}
function pushPlan() {
var _local2 = {};
_local2.plan = m_plan;
_local2.param = m_planParam;
_local2.status = m_planStatus;
_local2.time = m_planTime;
m_planContext.push(_local2);
m_plan = PLAN_START;
m_planParam = {};
m_planStatus = 0;
m_planTime = -1;
}
function popPlan() {
var _local2 = m_planContext.pop();
m_plan = _local2.plan;
m_planParam = _local2.param;
m_planStatus = _local2.status;
m_planTime = _local2.time;
}
function hasPlan() {
return(m_planContext.length != 0);
}
function planStart() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 1;
break;
case 1 :
m_planStatus = -1;
}
return(false);
}
function planStop() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 1;
break;
case 1 :
m_planStatus = -1;
}
return(false);
}
function planStroll() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 1;
break;
case 1 :
m_action = ACTION_MOVE_LEFT;
m_actionParam = {};
m_planStatus = 2;
break;
case 2 :
m_action = ACTION_MOVE_RIGHT;
m_actionParam = {};
m_planStatus = 3;
break;
case 3 :
m_planStatus = -1;
}
return(false);
}
function planBlockLeft() {
switch (m_planStatus) {
case 0 :
var _local8 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Collision();
var _local4;
var _local5;
var _local2;
var _local6;
var _local3;
var _local7;
_local5 = [];
_local6 = _local8.getCollisionData(m_cst.idx);
_local4 = _local8.getLeftCollisionData(m_cst.x, m_cst.y, m_cst.idx);
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local2 = _local4[_local3];
if ((_local6.x - (_local2.x + _local2.width)) < (m_speed * JUMP_TIME)) {
_local5.push(_local2);
}
_local3--;
}
if (_local8.getLeftFallPos(m_cst.idx) == -1) {
m_action = ACTION_WAIT;
m_planStatus = 2;
} else if (_local5.length == 0) {
m_action = ACTION_WAIT;
m_planStatus = 2;
} else {
_local3 = Math.floor(Math.random() * _local5.length);
_local2 = _local5[_local3];
_local7 = _local2.x + (_local2.width / 2);
if ((_local6.x - (m_speed * JUMP_TIME)) > _local7) {
_local7 = _local6.x;
} else {
_local7 = _local7 + (m_speed * JUMP_TIME);
}
if (_local7 <= m_cst.x) {
m_action = ACTION_MOVE_LEFT;
m_actionParam.x = _local7;
} else {
m_action = ACTION_MOVE_RIGHT;
m_actionParam.x = _local7;
}
m_planStatus = 1;
}
break;
case 1 :
m_action = ACTION_LEFT_JUMP;
m_planStatus = 2;
break;
case 2 :
m_planStatus = -1;
}
return(false);
}
function planBlockRight() {
switch (m_planStatus) {
case 0 :
var _local8 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Collision();
var _local5;
var _local6;
var _local3;
var _local4;
var _local2;
var _local7;
_local6 = [];
_local4 = _local8.getCollisionData(m_cst.idx);
_local5 = _local8.getRightCollisionData(m_cst.x, m_cst.y, m_cst.idx);
_local2 = _local5.length - 1;
while (_local2 >= 0) {
_local3 = _local5[_local2];
if ((_local3.x - (_local4.x + _local4.width)) < (m_speed * JUMP_TIME)) {
_local6.push(_local3);
}
_local2--;
}
if (_local8.getRightFallPos(m_cst.idx) == -1) {
m_action = ACTION_WAIT;
m_planStatus = 2;
} else if (_local6.length == 0) {
m_action = ACTION_WAIT;
m_planStatus = 2;
} else {
_local2 = Math.floor(Math.random() * _local6.length);
_local3 = _local6[_local2];
_local7 = _local3.x + (_local3.width / 2);
if ((_local7 - (_local4.x + _local4.width)) > (m_speed * JUMP_TIME)) {
_local7 = _local4.x + _local4.width;
} else {
_local7 = _local7 - (m_speed * JUMP_TIME);
}
if (_local7 <= m_cst.x) {
m_action = ACTION_MOVE_LEFT;
m_actionParam.x = _local7;
} else {
m_action = ACTION_MOVE_RIGHT;
m_actionParam.x = _local7;
}
m_planStatus = 1;
}
break;
case 1 :
m_action = ACTION_RIGHT_JUMP;
m_planStatus = 2;
break;
case 2 :
m_planStatus = -1;
}
return(false);
}
function planBlockUp() {
switch (m_planStatus) {
case 0 :
var _local5;
var _local2;
var _local4;
var _local3;
var _local6;
_local6 = [];
_local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getCollisionData(m_cst.idx);
_local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getRangeHeightCollisionData(m_cst.y, 80);
_local3 = _local5.length - 1;
while (_local3 >= 0) {
_local2 = _local5[_local3];
if ((_local4.x < (_local2.x + _local2.width)) && ((_local4.x + _local4.width) > _local2.x)) {
_local6.push(_local2);
}
_local3--;
}
if (_local6.length == 0) {
m_action = ACTION_WAIT;
m_planStatus = 3;
} else {
_local3 = Math.floor(Math.random() * _local6.length);
_local2 = _local6[_local3];
if ((_local2.x <= m_cst.x) && (m_cst.x < (_local2.x + _local2.width))) {
m_planStatus = 1;
} else if ((_local2.x + _local2.width) <= m_cst.x) {
m_planStatus = 1;
m_action = ACTION_MOVE_LEFT;
m_actionParam.x = (_local2.x + _local2.width) - 16;
} else if (_local2.x >= m_cst.x) {
m_action = ACTION_MOVE_RIGHT;
m_actionParam.x = _local2.x + 16;
} else {
m_planStatus = -1;
}
}
break;
case 1 :
m_action = ACTION_WAIT;
m_actionParam.count = 2;
m_planStatus = 2;
break;
case 2 :
m_action = ACTION_UP_JUMP;
m_planStatus = 3;
break;
case 3 :
m_planStatus = -1;
}
return(false);
}
function planBlockDown() {
switch (m_planStatus) {
case 0 :
var _local2;
var _local4;
var _local3;
_local3 = [];
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getLeftFallPos(m_cst.idx);
if (_local2 != -1) {
_local3.push(_local2);
}
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getRightFallPos(m_cst.idx);
if (_local2 != -1) {
_local3.push(_local2);
}
if (_local3.length == 0) {
m_action = ACTION_WAIT;
m_planStatus = 2;
} else {
_local4 = Math.floor(Math.random() * _local3.length);
_local2 = _local3[_local4];
if (_local2 <= m_cst.x) {
m_planStatus = 1;
m_action = ACTION_MOVE_LEFT;
m_actionParam.x = (_local2 - m_speed) - 1;
} else if (_local2 >= m_cst.x) {
m_planStatus = 1;
m_action = ACTION_MOVE_RIGHT;
m_actionParam.x = (_local2 + m_speed) + 1;
} else {
m_planStatus = -1;
}
}
break;
case 1 :
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 2;
break;
case 2 :
m_planStatus = -1;
}
return(false);
}
function planAttackLeft() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_TURN_LEFT;
m_planStatus = 1;
break;
case 1 :
m_action = ACTION_ATTACK;
m_planStatus = 2;
break;
case 2 :
m_action = ACTION_WAIT;
m_actionParam.count = 15;
m_planStatus = 3;
break;
case 3 :
m_planStatus = -1;
}
return(false);
}
function planAttackRight() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_TURN_RIGHT;
m_planStatus = 1;
break;
case 1 :
m_action = ACTION_ATTACK;
m_planStatus = 2;
break;
case 2 :
m_action = ACTION_WAIT;
m_actionParam.count = 15;
m_planStatus = 3;
break;
case 3 :
m_planStatus = -1;
}
return(false);
}
function planAttackPlayer() {
switch (m_planStatus) {
case 0 :
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition().x > m_cst.x) {
m_action = ACTION_TURN_RIGHT;
} else {
m_action = ACTION_TURN_LEFT;
}
m_planStatus = 1;
break;
case 1 :
m_action = ACTION_ATTACK;
m_planStatus = 2;
break;
case 2 :
m_action = ACTION_WAIT;
m_actionParam.count = 15;
m_planStatus = 3;
break;
case 3 :
m_planStatus = -1;
}
return(false);
}
function planSearchPlayer() {
var _local2 = false;
switch (m_planStatus) {
case 0 :
m_planParam.count = 0;
m_planStatus = 1;
_local2 = true;
break;
case 1 :
m_planParam.count++;
if (m_planParam.count > 7) {
m_planStatus = -1;
} else {
m_planStatus = 2;
_local2 = true;
}
break;
case 2 :
var _local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Collision();
var _local3;
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
if (_local4.isSameFloor(m_cst.idx, jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getFloorIndex())) {
m_planStatus = 10;
} else if (Math.floor(_local3.y - m_cst.x) < 40) {
m_planStatus = 20;
} else {
m_planStatus = 30;
}
_local2 = true;
break;
case 10 :
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
if (_local3.x < m_cst.x) {
m_action = ACTION_MOVE_LEFT;
} else {
m_action = ACTION_MOVE_RIGHT;
}
m_planStatus = 100;
break;
case 20 :
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
if (_local3.x < m_cst.x) {
m_planStatus = 100;
pushPlan();
m_plan = PLAN_BLOCK_LEFT;
_local2 = true;
} else {
m_planStatus = 100;
pushPlan();
m_plan = PLAN_BLOCK_RIGHT;
_local2 = true;
}
break;
case 30 :
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
if (_local3.y > m_cst.y) {
m_planStatus = 100;
pushPlan();
m_plan = PLAN_BLOCK_DOWN;
_local2 = true;
} else if (_local3.y < m_cst.y) {
m_planStatus = 100;
pushPlan();
m_plan = PLAN_BLOCK_UP;
_local2 = true;
} else {
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 100;
}
break;
case 100 :
m_action = ACTION_WAIT;
m_planStatus = 101;
break;
case 101 :
m_planStatus = 1;
}
return(_local2);
}
function planRunAway() {
switch (m_planStatus) {
case 0 :
m_action = ACTION_MOVABLE_WAIT;
m_planStatus = 1;
break;
case 1 :
m_planStatus = -1;
}
return(false);
}
function moveAction() {
m_actionCode = 0;
switch (m_action) {
case ACTION_MOVABLE_WAIT :
if ((m_cst.idx != -1) && (m_status != STATUS_DAMAGE)) {
m_actionStatus = -1;
}
break;
case ACTION_WAIT :
if (m_actionParam.count == undefined) {
m_actionParam.count = 1;
}
m_actionParam.count--;
if (m_actionParam.count <= 0) {
m_actionStatus = -1;
}
break;
case ACTION_MOVE_LEFT :
if (m_actionParam.x == undefined) {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getLeftFloorPos(m_cst.idx);
m_actionParam.x = _local2;
}
if (m_actionParam.x < 16) {
m_actionParam.x = 16;
}
if ((m_actionParam.x + m_speed) < m_cst.nx) {
m_actionCode = KEY_LEFT;
} else {
m_actionStatus = -1;
}
break;
case ACTION_MOVE_RIGHT :
if (m_actionParam.x == undefined) {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.getRightFloorPos(m_cst.idx);
m_actionParam.x = _local2;
}
if (m_actionParam.x >= (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH - 16)) {
m_actionParam.x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH - 16;
}
if ((m_actionParam.x - m_speed) > m_cst.nx) {
m_actionCode = KEY_RIGHT;
} else {
m_actionStatus = -1;
}
break;
case ACTION_LEFT_JUMP :
if (m_actionCount == 0) {
m_actionCode = KEY_UP | KEY_LEFT;
} else {
m_actionCode = KEY_LEFT;
}
if ((m_actionCount > JUMP_WAIT_FRAME) && (m_cst.idx != -1)) {
m_actionStatus = -1;
}
break;
case ACTION_RIGHT_JUMP :
if (m_actionCount == 0) {
m_actionCode = KEY_UP | KEY_RIGHT;
} else {
m_actionCode = KEY_RIGHT;
}
if ((m_actionCount > JUMP_WAIT_FRAME) && (m_cst.idx != -1)) {
m_actionStatus = -1;
}
break;
case ACTION_UP_JUMP :
if ((m_actionCount > JUMP_WAIT_FRAME) && (m_cst.idx != -1)) {
m_actionStatus = -1;
} else {
m_actionCode = KEY_UP;
}
break;
case ACTION_FALL_LEFT :
if (m_actionParam.x < m_cst.nx) {
m_actionCode = KEY_LEFT;
} else if (m_cst.idx != -1) {
m_actionStatus = -1;
}
break;
case ACTION_FALL_RIGHT :
if (m_actionParam.x > m_cst.nx) {
m_actionCode = KEY_LEFT;
} else if (m_cst.idx != -1) {
m_actionStatus = -1;
}
break;
case ACTION_TURN_LEFT :
if ((m_actionCount == 0) && (m_dir != DIR_LEFT)) {
m_actionCode = KEY_LEFT;
} else {
m_actionStatus = -1;
}
break;
case ACTION_TURN_RIGHT :
if ((m_actionCount == 0) && (m_dir != DIR_RIGHT)) {
m_actionCode = KEY_RIGHT;
} else {
m_actionStatus = -1;
}
break;
case ACTION_ATTACK :
if (m_actionCount == 0) {
m_actionCode = KEY_BULLET;
} else if (m_status == STATUS_ATTACK) {
} else {
m_actionStatus = -1;
}
}
m_actionCount++;
}
function moveCommand(count) {
var _local3;
var _local7;
var _local6;
var _local4;
_local3 = m_actionCode;
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
_local6 = (m_speed * count) / 1000;
_local4 = (_local6 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getLevelSpeed()) / 1000;
if (m_status == STATUS_NORMAL) {
m_count = m_count + count;
if ((_local3 & KEY_LEFT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_LEFT;
m_count = 0;
m_cst.nx = m_cst.nx - _local4;
} else if ((_local3 & KEY_RIGHT) != 0) {
m_status = STATUS_WALK;
m_dir = DIR_RIGHT;
m_count = 0;
m_cst.nx = m_cst.nx + _local4;
}
if ((_local3 & KEY_UP) != 0) {
if (m_status == STATUS_WALK) {
m_inertia = m_speed;
} else {
m_inertia = 0;
}
m_status = STATUS_JUMP;
m_count = 0;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
} else if ((_local3 & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
}
} else if (m_status == STATUS_WALK) {
m_count = m_count + count;
if ((_local3 & KEY_LEFT) != 0) {
m_dir = DIR_LEFT;
m_cst.nx = m_cst.nx - _local4;
} else if ((_local3 & KEY_RIGHT) != 0) {
m_dir = DIR_RIGHT;
m_cst.nx = m_cst.nx + _local4;
}
if (_local3 == 0) {
m_status = STATUS_NORMAL;
m_count = 0;
}
if ((_local3 & KEY_UP) != 0) {
if (m_status == STATUS_WALK) {
m_inertia = m_speed;
} else {
m_inertia = 0;
}
m_status = STATUS_JUMP;
m_count = 0;
m_acc = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE;
} else if ((_local3 & KEY_BULLET) != 0) {
m_status = STATUS_ATTACK;
m_count = 0;
}
} else if (m_status == STATUS_ATTACK) {
m_count = m_count + count;
if (m_count >= (m_attackTime * 1000)) {
m_status = STATUS_NORMAL;
m_count = 0;
} else if (m_count == (m_attackShot * 1000)) {
attack();
}
} else if (m_status == STATUS_JUMP) {
m_count = m_count + count;
if (m_dir == DIR_LEFT) {
if ((_local3 & KEY_LEFT) != 0) {
m_inertia = m_inertia + (count / 1000);
} else if ((_local3 & KEY_RIGHT) != 0) {
m_inertia = m_inertia - (count / 1000);
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > m_speed) {
m_inertia = m_speed;
}
m_cst.nx = m_cst.nx - ((m_inertia * count) / 1000);
} else if (m_dir == DIR_RIGHT) {
if ((_local3 & KEY_LEFT) != 0) {
m_inertia = m_inertia - (count / 1000);
} else if ((_local3 & KEY_RIGHT) != 0) {
m_inertia = m_inertia + (count / 1000);
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > m_speed) {
m_inertia = m_speed;
}
m_cst.nx = m_cst.nx + ((m_inertia * count) / 1000);
}
m_cst.ny = m_cst.ny - (((m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 11)) * count) / 1000);
m_acc = m_acc - (((jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2)) * count) / 1000);
} else if (m_status == STATUS_FALL) {
m_count = m_count + count;
if (m_dir == DIR_LEFT) {
if ((_local3 & KEY_LEFT) != 0) {
m_inertia = m_inertia + (count / 1000);
} else if ((_local3 & KEY_RIGHT) != 0) {
m_inertia = m_inertia - (count / 1000);
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > (m_speed / 2)) {
m_inertia = m_speed / 2;
}
m_cst.nx = m_cst.nx - ((m_inertia * count) / 1000);
} else if (m_dir == DIR_RIGHT) {
if ((_local3 & KEY_LEFT) != 0) {
m_inertia = m_inertia - (count / 1000);
} else if ((_local3 & KEY_RIGHT) != 0) {
m_inertia = m_inertia + (count / 1000);
}
if (m_inertia <= 0) {
m_inertia = 0;
} else if (m_inertia > (m_speed / 2)) {
m_inertia = m_speed / 2;
}
m_cst.nx = m_cst.nx + ((m_inertia * count) / 1000);
}
m_cst.ny = m_cst.ny - (((m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 10)) * count) / 1000);
m_acc = m_acc - (((jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2)) * count) / 1000);
} else if (m_status == STATUS_DAMAGE) {
m_count = m_count + count;
m_hitDownCount = m_hitDownCount + count;
if (m_hitDownCount >= (HIT_DOWN_TIME * 1000)) {
m_hitDownCount = m_hitDownCount - (HIT_DOWN_TIME * 1000);
m_hitStep--;
if (m_hitStep <= 0) {
m_status = STATUS_NORMAL;
m_count = 0;
}
}
if (m_cst.idx == -1) {
m_cst.ny = m_cst.ny - (((m_acc / (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / 10)) * count) / 1000);
m_acc = m_acc - (((jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ONE / ((JUMP_TIME - 1) / 2)) * count) / 1000);
}
}
var _local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Collision();
if (m_moveMode == MODE_NORMAL) {
_local5.check(m_cst);
} else if (m_moveMode == MODE_IN) {
_local5.checkY(m_cst, m_moveParam.idx);
if (!m_ready) {
if (m_moveParam.idx == m_cst.idx) {
m_parent.event();
m_ready = true;
}
}
}
if ((m_status == STATUS_FALL) || ((m_status == STATUS_JUMP) && (m_acc < 0))) {
if (m_cst.idx != -1) {
m_status = STATUS_NORMAL;
m_count = 0;
}
}
if ((m_status == STATUS_NORMAL) || (m_status == STATUS_WALK)) {
if (m_cst.idx == -1) {
m_status = STATUS_FALL;
m_count = 0;
m_acc = 0;
m_inertia = (m_count / 5) / 1000;
if (m_inertia > (m_speed / 2)) {
m_inertia = m_speed / 2;
}
}
}
}
function ctrl() {
if (m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ChainWave(m_context, m_cst.nx, m_cst.ny - (m_height / 2), 0);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion");
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_ENEMY_DESTROY, obj:this, hit:-1});
return(false);
}
if (m_isHit) {
if (m_hitExtra) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ChainWave(m_context, m_cst.nx, m_cst.ny - (m_height / 2), m_hitExtraStep);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion");
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (m_height / 2), m_score * Math.pow(2, m_hitExtraStep));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(m_score * Math.pow(2, m_hitExtraStep));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_ENEMY_DESTROY, obj:this, hit:m_hitExtraStep});
return(false);
}
if (m_moveMode == MODE_SHOT) {
m_moveMode = MODE_NORMAL;
}
if (m_status != STATUS_DAMAGE) {
m_status = STATUS_DAMAGE;
if (m_cst.idx == -1) {
m_acc = 0;
m_inertia = 0;
}
}
m_count = 0;
m_hitDownCount = 0;
if (m_hitStep >= m_maxHp) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ChainWave(m_context, m_cst.nx, m_cst.ny - (m_height / 2), 0);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion");
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_cst.nx, m_cst.ny - (m_height / 2), m_score);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(m_score);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_ENEMY_DESTROY, obj:this, hit:m_hitExtraStep});
return(false);
}
}
return(true);
}
function disp() {
var _local2 = COLOR_NORMAL;
switch (m_status) {
case STATUS_NORMAL :
m_mc.gotoAndStop(MOTION_NORMAL);
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
break;
case STATUS_WALK :
m_mc.gotoAndStop(MOTION_WALK);
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
break;
case STATUS_ATTACK :
m_mc.gotoAndStop(MOTION_ATTACK);
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
break;
case STATUS_JUMP :
m_mc.gotoAndStop(MOTION_JUMP);
if ((m_count / 1000) >= m_mc.mc._totalframes) {
m_mc.mc.gotoAndStop(m_mc.mc._totalframes);
} else {
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
}
break;
case STATUS_FALL :
m_mc.gotoAndStop(MOTION_FALL);
if ((m_count / 1000) >= m_mc.mc._totalframes) {
m_mc.mc.gotoAndStop(m_mc.mc._totalframes);
} else {
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
}
break;
case STATUS_DAMAGE :
m_mc.gotoAndStop(MOTION_DAMAGE);
if ((m_count / 1000) >= m_mc.mc._totalframes) {
m_mc.mc.gotoAndStop(m_mc.mc._totalframes);
} else {
m_mc.mc.gotoAndStop((Math.floor(m_count / 1000) % m_mc.mc._totalframes) + 1);
}
_local2 = COLORLIST[m_hitColorIdx][m_hitStep - 1];
}
if (m_dir == DIR_LEFT) {
m_mc._xscale = -100;
} else {
m_mc._xscale = 100;
}
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny - (m_mc._height / 2);
m_mc._visible = true;
m_color.setTransform(_local2);
}
function attack() {
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny - (m_height / 2);
m_area.m_w = m_width / 2;
m_area.m_h = m_height / 2;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
if (!m_hitExtra) {
m_isHit = true;
m_hitStep = m_hitStep + power;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
m_isHit = true;
m_hitExtra = true;
if (m_hitExtraStep < power) {
m_hitExtraStep = power;
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function destroy() {
}
function isActive() {
return(true);
}
function isDamage() {
return(m_hitStep > 0);
}
static var KEY_LEFT = 1;
static var KEY_RIGHT = 2;
static var KEY_UP = 4;
static var KEY_DOWN = 8;
static var KEY_BULLET = 16;
static var MOTION_NORMAL = 1;
static var MOTION_WALK = 2;
static var MOTION_JUMP = 3;
static var MOTION_FALL = 4;
static var MOTION_ATTACK = 5;
static var MOTION_DAMAGE = 6;
static var STATUS_NONE = 0;
static var STATUS_NORMAL = 1;
static var STATUS_WALK = 2;
static var STATUS_JUMP = 3;
static var STATUS_FALL = 4;
static var STATUS_ATTACK = 5;
static var STATUS_DAMAGE = 6;
static var PLAN_START = 0;
static var PLAN_STOP = 1;
static var PLAN_STROLL = 2;
static var PLAN_BLOCK_LEFT = 3;
static var PLAN_BLOCK_RIGHT = 4;
static var PLAN_BLOCK_UP = 5;
static var PLAN_BLOCK_DOWN = 6;
static var PLAN_ATTACK_LEFT = 7;
static var PLAN_ATTACK_RIGHT = 8;
static var PLAN_ATTACK_PLAYER = 9;
static var PLAN_SEARCH_PLAYER = 10;
static var PLAN_RUN_AWAY = 11;
static var ACTION_MOVABLE_WAIT = 0;
static var ACTION_WAIT = 1;
static var ACTION_MOVE_LEFT = 2;
static var ACTION_MOVE_RIGHT = 3;
static var ACTION_LEFT_JUMP = 4;
static var ACTION_RIGHT_JUMP = 5;
static var ACTION_UP_JUMP = 6;
static var ACTION_FALL_LEFT = 7;
static var ACTION_FALL_RIGHT = 8;
static var ACTION_TURN_LEFT = 9;
static var ACTION_TURN_RIGHT = 10;
static var ACTION_ATTACK = 11;
static var MODE_NORMAL = 0;
static var MODE_IN = 1;
static var MODE_SHOT = 2;
static var COLOR_NORMAL = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var COLOR_HIT_1 = {ra:100, rb:75, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var COLOR_HIT_2 = {ra:100, rb:150, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var COLORLIST = [[{ra:100, rb:75, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:150, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}], [{ra:100, rb:50, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:100, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:150, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}], [{ra:100, rb:37, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:75, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:108, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, {ra:100, rb:150, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}]];
static var DIR_LEFT = 1;
static var DIR_RIGHT = 2;
static var JUMP_TIME = 31;
static var JUMP_HEIGHT = 100;
static var JUMP_SPEED = -100;
static var JUMP_ACC = 100;
static var JUMP_WAIT_FRAME = 10;
static var HIT_DOWN_TIME = 60;
static var BASE_HP = 3;
static var GRAVITY = 200;
static var STR_STATUS = [" ", "NORMAL", "WALK ", "JUMP ", "FALL ", "ATTACK", "DAMAGE", ""];
static var STR_PLAN = ["START ", "STOP ", "STROLL ", "BLOCK LEFT ", "BLOCK RIGHT ", "BLOCK UP ", "BLOCK DOWN ", "ATTACK LEFT ", "ATTACK RIGHT ", "ATTACK PLAYER ", "SEARCH PLAYER ", "RUN AWAY ", ""];
static var STR_ACTION = ["MOVABLE WAIT", "ACTION WAIT ", "MOVE LEFT ", "MOVE RIGHT ", "LEFT JUMP ", "RIGHT JUMP ", "UP JUMP ", "FALL LEFT ", "FALL RIGHT ", "TURN LEFT ", "TURN RIGHT ", "ATTACK ", ""];
}
Symbol 3066 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemyBase] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemyBase extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_param, m_count, m_enemyList, m_isEnd, m_isEnemyReady, m_x, m_context, m_y, m_mc;
function PlaceEnemyBase (context, param) {
super(context);
m_param = param;
m_count = 0;
m_enemyList = [];
m_isEnd = false;
m_isEnemyReady = false;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
var _local5;
var _local2;
var _local3;
var _local4;
_local5 = m_param.enemylist;
if (!m_isEnemyReady) {
_local3 = _local5.length - 1;
while (_local3 >= 0) {
_local2 = _local5[_local3];
if ((_local2.modeParam.x > m_x) && (_local2.modeParam.x <= (m_x + MOVE_SPEED))) {
_local4 = jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase(jp.bambooshootdesign.app.heavymetalgirl.sys.EnemyFactory.create(m_context, _local2.id, _local2.param, 0));
_local2.modeParam.y = m_y + 40;
_local4.setMode(_local2.mode, _local2.modeParam);
_local4.setParent(this);
m_enemyList.push(_local4);
}
_local3--;
}
if (m_x >= (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH + (m_mc._width / 2))) {
if (m_count >= m_param.enemylist.length) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN);
m_isEnemyReady = true;
}
}
}
m_x = m_x + MOVE_SPEED;
return(!m_isEnd);
}
function ctrl() {
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
}
function event() {
m_count++;
}
function onSceneGraphEvent(eventID, param) {
var _local2;
var _local3;
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START) {
_local2 = m_enemyList.length - 1;
while (_local2 >= 0) {
_local3 = jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase(m_enemyList[_local2]);
_local3.setMode("NORMAL");
_local2--;
}
m_isEnd = true;
}
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemyBase(context, param));
}
static var MOVE_SPEED = 20;
}
Symbol 3067 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Collision] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Collision
{
var m_enemyMap, m_bulletMap, m_colData, m_cdFloor, m_cdSlope, m_cdWall, m_cdFloorAndWall, m_colMap, m_xdiv, m_xsize, m_ydiv, m_ysize, m_floorData, m_bulletCount;
function Collision () {
}
function init(x, y) {
m_enemyMap = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionMap(8, 8);
m_enemyMap.setSize(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT);
m_bulletMap = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionMap(8, 8);
m_bulletMap.setSize(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT);
}
function reset() {
m_enemyMap.reset();
}
function appendEnemy(x1, y1, x2, y2, obj) {
obj.clearHitBullet();
m_enemyMap.append(x1, y1, x2, y2, obj);
}
function setMapCollision(data) {
m_colData = data;
m_cdFloor = [];
m_cdSlope = [];
m_cdWall = [];
m_cdFloorAndWall = [];
var _local8;
var _local3;
var _local10;
var _local18;
var _local26;
var _local25;
var _local9;
var _local2;
_local18 = 5;
_local26 = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / (_local18 + 1);
_local25 = 5;
_local9 = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / (_local25 + 1);
m_colMap = [];
_local8 = 0;
while (_local8 < _local25) {
m_colMap.push([]);
_local3 = 0;
while (_local3 < _local18) {
m_colMap[_local8].push({floor:[], wall:[], slope:[], floorWall:[], all:[]});
_local3++;
}
_local8++;
}
_local8 = 0;
while (_local8 < m_colData.length) {
var _local17;
var _local16;
var _local14;
var _local13;
_local2 = m_colData[_local8];
_local2.idx = _local8;
_local17 = Math.floor(jp.bambooshootdesign.util.Util.limitRange((_local2.x - _local26) / _local26, 0, _local18 - 1));
_local16 = Math.floor(jp.bambooshootdesign.util.Util.limitRange((_local2.x + _local2.width) / _local26, 0, _local18 - 1));
if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
if (_local2.dir > 0) {
_local14 = ((_local2.y - (_local2.width * _local2.dir)) - _local9) / _local9;
_local13 = _local2.y / _local9;
} else {
_local14 = (_local2.y - _local9) / _local9;
_local13 = (_local2.y - (_local2.width * _local2.dir)) / _local9;
}
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) {
_local14 = (_local2.y - _local9) / _local9;
_local13 = _local2.y / _local9;
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL) {
_local14 = (_local2.y - _local9) / _local9;
_local13 = (_local2.y + _local2.height) / _local9;
}
_local14 = Math.floor(jp.bambooshootdesign.util.Util.limitRange(_local14, 0, _local25 - 1));
_local13 = Math.floor(jp.bambooshootdesign.util.Util.limitRange(_local13, 0, _local25 - 1));
_local3 = _local14;
while (_local3 <= _local13) {
_local10 = _local17;
while (_local10 <= _local16) {
var _local5 = m_colMap[_local3][_local10];
if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
_local5.slope.push(_local2);
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) {
_local5.floor.push(_local2);
_local5.floorWall.push(_local2);
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL) {
_local5.wall.push(_local2);
_local5.floorWall.push(_local2);
}
_local5.all.push(_local2);
_local10++;
}
_local3++;
}
if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
m_cdSlope.push(_local2);
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) {
m_cdFloor.push(_local2);
m_cdFloorAndWall.push(_local2);
} else if (_local2.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL) {
m_cdWall.push(_local2);
m_cdFloorAndWall.push(_local2);
}
_local8++;
}
m_xdiv = _local18;
m_xsize = _local26;
m_ydiv = _local25;
m_ysize = _local9;
var _local19;
var _local15;
var _local7;
var _local12;
var _local11;
var _local27;
var _local6;
var _local4;
_local19 = 0;
m_floorData = [];
_local8 = 0;
while (_local8 < m_colData.length) {
_local2 = m_colData[_local8];
if (_local2.floor == -1) {
_local2.floor = _local19;
_local15 = _local8;
_local7 = _local2;
while (_local7.next != 0) {
_local15 = _local15 + _local7.next;
_local7 = m_colData[_local15];
_local7.floor = _local19;
}
_local6 = {};
_local6.left = _local2.x;
_local6.right = _local7.x + _local7.width;
_local6.dLeft = ((_local6.left < 16) ? -1 : (_local6.left));
_local6.dRight = ((_local6.right > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH - 16)) ? -1 : (_local6.right));
if (_local6.dLeft != -1) {
_local11 = _local2.y;
_local12 = _local6.dLeft;
_local3 = m_cdWall.length - 1;
while (_local3 >= 0) {
_local4 = m_cdWall[_local3];
if ((_local4.x <= _local12) && (_local12 <= (_local4.x + _local4.width))) {
if ((_local4.y < _local11) && (_local11 <= (_local4.y + _local4.height))) {
_local6.dLeft = -1;
break;
}
}
_local3--;
}
}
if (_local6.dRight != -1) {
if ((_local7.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) || (_local7.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL)) {
_local12 = _local6.dRight;
_local11 = _local2.y;
} else {
_local12 = _local6.dRight;
_local11 = _local7.y - (_local7.dir * _local7.width);
}
_local3 = m_cdWall.length - 1;
while (_local3 >= 0) {
_local4 = m_cdWall[_local3];
if ((_local4.x <= _local12) && (_local12 <= (_local4.x + _local4.width))) {
if ((_local4.y < _local11) && (_local11 <= (_local4.y + _local4.height))) {
_local6.dRight = -1;
break;
}
}
_local3--;
}
}
m_floorData.push(_local6);
_local19++;
}
_local8++;
}
}
function check(colSt) {
var _local4;
var _local9;
if (colSt.ny == colSt.y) {
_local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_LR;
} else if (colSt.ny > colSt.y) {
_local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_DOWN;
} else {
_local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_UP;
}
if (colSt.nx >= (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - 16)) {
colSt.nx = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - 16;
}
if (colSt.ny >= (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT - 16)) {
colSt.ny = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT - 16;
}
if (colSt.nx <= 16) {
colSt.nx = 16;
}
if (colSt.ny <= 16) {
colSt.ny = 16;
}
if ((_local4 == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_DOWN) || (_local4 == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_UP)) {
colSt.idx = -1;
}
colSt.cx = Math.floor(jp.bambooshootdesign.util.Util.limitRange((colSt.nx - (m_xsize / 2)) / m_xsize, 0, m_xdiv - 1));
colSt.cy = Math.floor(jp.bambooshootdesign.util.Util.limitRange((colSt.ny - (m_ysize / 2)) / m_ysize, 0, m_ydiv - 1));
colSt.cm = m_colMap[colSt.cy][colSt.cx];
if (colSt.idx != -1) {
var _local3 = m_colData[colSt.idx];
if (_local3.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
var _local7;
_local7 = jp.bambooshootdesign.util.Util.limitRange(colSt.nx, _local3.x, _local3.x + _local3.width);
colSt.ny = _local3.y + ((_local3.x - _local7) * _local3.dir);
}
wallSideCheck(colSt);
if ((_local3.x > colSt.nx) || (colSt.nx >= (_local3.x + _local3.width))) {
var _local5;
if (_local3.x > colSt.nx) {
_local5 = _local3.prev;
} else {
_local5 = _local3.next;
}
if (_local5 != 0) {
_local3 = m_colData[colSt.idx + _local5];
if ((_local3.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) || (_local3.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL)) {
colSt.idx = colSt.idx + _local5;
colSt.ny = _local3.y;
} else if (_local3.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
var _local8;
var _local6;
_local8 = _local3.y - ((colSt.x - _local3.x) * _local3.dir);
_local6 = _local3.y - ((colSt.nx - _local3.x) * _local3.dir);
colSt.idx = colSt.idx + _local5;
colSt.ny = _local6;
} else {
colSt.idx = -1;
}
} else {
colSt.idx = -1;
}
}
} else if (_local4 == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_DOWN) {
floorCheck(colSt);
wallSideCheck(colSt);
floorCheck(colSt);
passCheck(colSt);
} else if (_local4 == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_UP) {
wallUpCheck(colSt);
wallSideCheck(colSt);
} else if (_local4 == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus.MD_LR) {
wallSideCheck(colSt);
}
}
function checkY(colSt, idx) {
var _local3;
_local3 = getCollisionData(idx).y;
if (colSt.ny >= _local3) {
colSt.ny = _local3;
colSt.idx = idx;
} else {
colSt.idx = -1;
}
}
function wallSideCheck(colSt) {
var _local4;
var _local1;
var _local3;
_local4 = colSt.cm.wall;
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local1 = _local4[_local3];
if ((_local1.y < colSt.ny) && (colSt.ny <= (_local1.y + _local1.height))) {
if ((_local1.x <= colSt.nx) && (colSt.nx < (_local1.x + _local1.width))) {
if (colSt.x >= (_local1.x + _local1.width)) {
colSt.nx = (_local1.x + _local1.width) + 1;
} else {
colSt.nx = _local1.x - 1;
}
}
}
_local3--;
}
}
function wallUpCheck(colSt) {
var _local4;
var _local1;
var _local3;
_local4 = colSt.cm.wall;
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local1 = _local4[_local3];
if ((colSt.ny < (_local1.y + _local1.height)) && ((_local1.y + _local1.height) < colSt.y)) {
if ((_local1.x <= colSt.x) && (colSt.x < (_local1.x + _local1.width))) {
colSt.ny = (_local1.y + _local1.height) + 1;
}
}
_local3--;
}
}
function passCheck(colSt) {
var _local9;
var _local1;
var _local5;
_local9 = colSt.cm.slope;
_local5 = _local9.length - 1;
while (_local5 >= 0) {
_local1 = _local9[_local5];
if (((_local1.x <= colSt.x) && (colSt.x < (_local1.x + _local1.width))) && ((_local1.y - ((colSt.x - _local1.x) * _local1.dir)) >= colSt.y)) {
if ((_local1.x > colSt.nx) || ((_local1.x + _local1.width) <= colSt.nx)) {
var _local7;
var _local8;
var _local3;
var _local6;
var _local4;
var _local10;
_local7 = -_local1.dir;
_local8 = _local1.y - (_local7 * _local1.x);
_local3 = (colSt.ny - colSt.y) / (colSt.nx - colSt.x);
_local6 = colSt.y - (_local3 * colSt.x);
_local4 = (_local8 - _local6) / (_local3 - _local7);
_local10 = _local6 + (_local3 * _local4);
if ((_local1.x <= _local4) && (_local4 < (_local1.x + _local1.width))) {
if ((_local1.x + _local1.width) <= colSt.nx) {
colSt.ny = _local1.y - (_local1.width * _local1.dir);
} else if (colSt.nx < _local1.x) {
colSt.ny = _local1.y;
}
}
}
}
_local5--;
}
}
function floorCheck(colSt) {
var _local6;
var _local1;
var _local3;
_local6 = colSt.cm.all;
_local3 = _local6.length - 1;
while (_local3 >= 0) {
_local1 = _local6[_local3];
if ((_local1.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_FLOOR) || (_local1.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_WALL)) {
if ((colSt.y <= _local1.y) && (_local1.y <= colSt.ny)) {
if ((_local1.x <= colSt.nx) && (colSt.nx < (_local1.x + _local1.width))) {
colSt.idx = _local1.idx;
colSt.ny = _local1.y;
break;
}
}
} else if (_local1.type == jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.CT_SLOPE) {
if ((_local1.x <= colSt.nx) && (colSt.nx < (_local1.x + _local1.width))) {
var _local5;
var _local4;
_local5 = _local1.y - ((colSt.x - _local1.x) * _local1.dir);
_local4 = _local1.y - ((colSt.nx - _local1.x) * _local1.dir);
if ((_local5 >= colSt.y) && (_local4 <= colSt.ny)) {
colSt.ny = _local4;
colSt.idx = _local1.idx;
break;
}
}
}
_local3--;
}
}
function getCollisionData(idx) {
return(m_colData[idx]);
}
function getRangeHeightCollisionData(baseHeight, range) {
var _local4;
var _local6;
var _local3;
var _local2;
_local4 = m_cdFloorAndWall;
_local6 = [];
_local2 = _local4.length - 1;
while (_local2 >= 0) {
_local3 = _local4[_local2];
if ((_local3.y < baseHeight) && (_local3.y >= (baseHeight - range))) {
_local6.push(_local3);
}
_local2--;
}
return(_local6);
}
function getLeftCollisionData(baseX, baseY, idx) {
var _local4;
var _local5;
var _local2;
var _local3;
var _local6;
if ((idx >= 0) && (idx < m_colData.length)) {
_local6 = m_colData[idx].floor;
} else {
_local6 = -1;
}
_local4 = m_cdFloorAndWall;
_local5 = [];
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local2 = _local4[_local3];
if (((_local2.y == baseY) && ((_local2.x + _local2.width) < baseX)) && (_local2.floor != _local6)) {
_local5.push(_local2);
}
_local3--;
}
return(_local5);
}
function getRightCollisionData(baseX, baseY, idx) {
var _local4;
var _local5;
var _local2;
var _local3;
var _local6;
if ((idx >= 0) && (idx < m_colData.length)) {
_local6 = m_colData[idx].floor;
} else {
_local6 = -1;
}
_local4 = m_cdFloorAndWall;
_local5 = [];
_local3 = _local4.length - 1;
while (_local3 >= 0) {
_local2 = _local4[_local3];
if (((_local2.y == baseY) && (_local2.x > baseX)) && (_local2.floor != _local6)) {
_local5.push(_local2);
}
_local3--;
}
return(_local5);
}
function getLeftFloorPos(idx) {
if ((idx == -1) || (idx >= m_colData.length)) {
return(-1);
}
return(m_floorData[m_colData[idx].floor].left);
}
function getRightFloorPos(idx) {
if ((idx == -1) || (idx >= m_colData.length)) {
return(-1);
}
return(m_floorData[m_colData[idx].floor].right);
}
function getLeftFallPos(idx) {
if ((idx == -1) || (idx >= m_colData.length)) {
return(-1);
}
return(m_floorData[m_colData[idx].floor].dLeft);
}
function getRightFallPos(idx) {
if ((idx == -1) || (idx >= m_colData.length)) {
return(-1);
}
return(m_floorData[m_colData[idx].floor].dRight);
}
function isSameFloor(idx1, idx2) {
var _local5;
var _local6;
var _local4;
if ((idx1 == -1) || (idx2 == -1)) {
return(false);
}
if (idx1 == idx2) {
return(true);
}
return(m_colData[idx1].floor == m_colData[idx2].floor);
}
function checkLand(colSt) {
var _local11;
var _local10;
var _local9;
var _local7;
var _local5;
var _local4;
var _local6;
var _local3;
_local11 = Math.floor(jp.bambooshootdesign.util.Util.limitRange((colSt.nx - (m_xsize / 2)) / m_xsize, 0, m_xdiv - 1));
_local10 = Math.floor(jp.bambooshootdesign.util.Util.limitRange((colSt.ny - (m_ysize / 2)) / m_ysize, 0, m_ydiv - 1));
_local9 = m_colMap[_local10][_local11];
if (colSt.ny != colSt.y) {
_local7 = _local9.floor;
_local6 = _local7.length - 1;
while (_local6 >= 0) {
_local3 = _local7[_local6];
_local4 = _local3.y;
if (((colSt.y <= _local4) && (_local4 < colSt.ny)) || ((colSt.y > _local4) && (_local4 >= colSt.ny))) {
_local5 = jp.bambooshootdesign.util.Util.crossPos(_local3.y, colSt.x, colSt.y, colSt.nx, colSt.ny);
if ((_local3.x <= _local5) && (_local5 < (_local3.x + _local3.width))) {
colSt.idx = _local3.idx;
colSt.ny = _local4;
colSt.nx = _local5;
return(undefined);
}
}
_local6--;
}
_local7 = _local9.wall;
_local6 = _local7.length - 1;
while (_local6 >= 0) {
_local3 = _local7[_local6];
_local4 = _local3.y;
if ((colSt.y <= _local4) && (_local4 < colSt.ny)) {
_local5 = jp.bambooshootdesign.util.Util.crossPos(_local4, colSt.x, colSt.y, colSt.nx, colSt.ny);
if ((_local3.x <= _local5) && (_local5 < (_local3.x + _local3.width))) {
colSt.idx = _local3.idx;
colSt.ny = _local4;
colSt.nx = _local5;
return(undefined);
}
}
_local4 = (_local3.y + _local3.height) - 32;
if ((colSt.y > _local4) && (_local4 >= colSt.ny)) {
_local5 = jp.bambooshootdesign.util.Util.crossPos(_local4, colSt.x, colSt.y, colSt.nx, colSt.ny);
if ((_local3.x <= _local5) && (_local5 < (_local3.x + _local3.width))) {
colSt.idx = _local3.idx;
colSt.ny = _local4;
colSt.nx = _local5;
return(undefined);
}
}
_local6--;
}
}
_local7 = _local9.wall;
_local6 = _local7.length - 1;
while (_local6 >= 0) {
_local3 = _local7[_local6];
_local5 = _local3.x;
if ((colSt.x <= _local5) && (_local5 < colSt.nx)) {
_local4 = jp.bambooshootdesign.util.Util.crossPos(_local5, colSt.y, colSt.x, colSt.ny, colSt.nx);
if ((_local3.y <= _local4) && (_local4 < ((_local3.y + _local3.height) - 32))) {
colSt.idx = _local3.idx;
colSt.ny = _local4;
colSt.nx = _local5;
return(undefined);
}
}
_local5 = _local3.x + _local3.width;
if ((colSt.x > _local5) && (_local5 >= colSt.nx)) {
_local4 = jp.bambooshootdesign.util.Util.crossPos(_local5, colSt.y, colSt.x, colSt.ny, colSt.nx);
if ((_local3.y <= _local4) && (_local4 < ((_local3.y + _local3.height) - 32))) {
colSt.idx = _local3.idx;
colSt.ny = _local4;
colSt.nx = _local5;
return(undefined);
}
}
_local6--;
}
_local7 = _local9.slope;
_local6 = _local7.length - 1;
while (_local6 >= 0) {
_local3 = _local7[_local6];
if (((_local3.x <= colSt.x) && (colSt.x < (_local3.x + _local3.width))) || ((_local3.x <= colSt.nx) && (colSt.nx < (_local3.x + _local3.width)))) {
if (((_local3.y - ((colSt.x - _local3.x) * _local3.dir)) >= colSt.y) != ((_local3.y - ((colSt.nx - _local3.x) * _local3.dir)) >= colSt.ny)) {
var _local8;
_local8 = jp.bambooshootdesign.util.Util.crossPos2(_local3.x, _local3.y, _local3.x + _local3.width, _local3.y - (_local3.dir * _local3.width), colSt.x, colSt.y, colSt.nx, colSt.ny);
if ((_local3.x <= _local8.x) && (_local8.x <= (_local3.x + _local3.width))) {
colSt.idx = _local3.idx;
colSt.nx = _local8.x;
colSt.ny = _local8.y;
return(undefined);
}
}
}
_local6--;
}
}
function hitCheck() {
playerAttackToEnemy();
ItemToPlayer();
enemyAttackToPlayer();
enemyBodyToPlayer();
}
function playerAttackToEnemy() {
var _local24;
var _local9;
var _local19;
var _local3;
var _local4;
var _local11;
var _local13;
var _local2;
var _local16;
var _local14;
var _local17;
var _local15;
var _local23;
var _local22;
var _local21;
var _local20;
var _local10;
var _local12;
var _local6;
var _local5;
var _local18 = 0;
_local24 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.get(jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_PLAYER);
_local19 = _local24.getFirst();
while (!_local24.isLast(_local19)) {
_local4 = jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot(_local19.get());
_local13 = _local4.getArea();
_local11 = _local4.getNumber();
_local17 = _local13.m_y - _local13.m_h;
_local15 = _local13.m_y + _local13.m_h;
_local16 = _local13.m_x - _local13.m_w;
_local14 = _local13.m_x + _local13.m_w;
_local23 = m_enemyMap.calcX(_local16);
_local22 = m_enemyMap.calcX(_local14);
_local21 = m_enemyMap.calcY(_local17);
_local20 = m_enemyMap.calcY(_local15);
_local10 = false;
_local12 = _local23;
while (_local12 <= _local22) {
_local6 = _local21;
while (_local6 <= _local20) {
_local9 = m_enemyMap.get(_local12, _local6);
_local5 = _local9.length - 1;
while (_local5 >= 0) {
_local3 = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local9[_local5]);
if (!_local3.isActive()) {
} else if (_local3.isSameBullet(_local11)) {
} else {
_local18++;
_local2 = _local3.getArea();
if ((((_local16 < (_local2.m_x + _local2.m_w)) && (_local14 > (_local2.m_x - _local2.m_w))) && (_local17 < (_local2.m_y + _local2.m_h))) && (_local15 > (_local2.m_y - _local2.m_h))) {
var _local8 = _local3.getPower();
var _local7 = _local4.getPower();
_local3.hit(_local4.getType(), _local7);
_local4.hit(_local3.getType(), _local8);
_local3.hitBullet(_local11);
if (!_local4.isActive()) {
_local10 = true;
break;
}
}
}
_local5--;
}
if (_local10) {
break;
}
_local6++;
}
if (_local10) {
break;
}
_local12++;
}
_local19 = _local19.m_next;
}
}
function ItemToPlayer() {
var _local4 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Player();
if (_local4.isAlive()) {
var _local7;
var _local3;
var _local1;
var _local13;
var _local2;
var _local6;
var _local5;
var _local10;
var _local8;
var _local11;
var _local9;
var _local12;
_local12 = _local4.getArea();
_local10 = _local12.m_x;
_local8 = _local12.m_x;
_local11 = _local12.m_y - (_local12.m_h / 2);
_local9 = _local12.m_y - (_local12.m_h / 2);
_local7 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.get(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_POWERUP);
_local3 = _local7.getFirst();
while (!_local7.isLast(_local3)) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local3.get());
_local1 = _local2.getArea();
if (((_local1.m_y - _local1.m_h) < _local9) && ((_local1.m_y + _local1.m_h) > _local11)) {
if (((_local1.m_x - _local1.m_w) < _local8) && ((_local1.m_x + _local1.m_w) > _local10)) {
_local6 = _local2.getPower();
_local5 = _local4.getPower();
_local4.hit(_local2.getType(), _local6);
_local2.hit(_local4.getType(), _local5);
}
}
_local3 = _local3.m_next;
}
}
}
function enemyAttackToPlayer() {
var _local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Player();
if (_local5.isActive()) {
var _local8;
var _local4;
var _local2;
var _local14;
var _local3;
var _local7;
var _local6;
var _local12;
var _local10;
var _local13;
var _local11;
var _local9;
_local9 = _local5.getArea();
_local12 = _local9.m_x - (_local9.m_w / 2);
_local10 = _local9.m_x + (_local9.m_w / 2);
_local13 = _local9.m_y - _local9.m_h;
_local11 = _local9.m_y;
_local8 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.get(jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
_local4 = _local8.getFirst();
m_bulletCount = 0;
while (!_local8.isLast(_local4)) {
m_bulletCount++;
_local3 = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local4.get());
_local2 = _local3.getArea();
if (((_local2.m_y - _local2.m_h) < _local11) && ((_local2.m_y + _local2.m_h) > _local13)) {
if (((_local2.m_x - _local2.m_w) < _local10) && ((_local2.m_x + _local2.m_w) > _local12)) {
_local7 = _local3.getPower();
_local6 = _local5.getPower();
_local5.hit(_local3.getType(), _local7);
_local3.hit(_local5.getType(), _local6);
}
}
_local4 = _local4.m_next;
}
}
}
function enemyBodyToPlayer() {
var _local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Player();
if (_local5.isActive()) {
var _local6;
var _local2;
var _local21;
var _local3;
var _local10;
var _local9;
var _local14;
var _local12;
var _local15;
var _local13;
var _local19;
var _local18;
var _local17;
var _local16;
var _local11;
var _local7;
var _local4;
var _local20;
var _local8;
_local20 = _local5.getArea();
_local14 = _local20.m_x;
_local12 = _local20.m_x;
_local15 = _local20.m_y - (_local20.m_h / 2);
_local13 = _local20.m_y - (_local20.m_h / 2);
_local19 = m_enemyMap.calcX(_local14);
_local18 = m_enemyMap.calcX(_local12);
_local17 = m_enemyMap.calcY(_local15);
_local16 = m_enemyMap.calcY(_local13);
_local8 = false;
_local11 = _local19;
while (_local11 <= _local18) {
_local7 = _local17;
while (_local7 <= _local16) {
_local6 = m_enemyMap.get(_local11, _local7);
_local4 = _local6.length - 1;
while (_local4 >= 0) {
_local3 = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local6[_local4]);
if (!_local3.isDamage()) {
_local2 = _local3.getArea();
if (((_local2.m_y - _local2.m_h) <= _local13) && ((_local2.m_y + _local2.m_h) >= _local15)) {
if (((_local2.m_x - _local2.m_w) <= _local12) && ((_local2.m_x + _local2.m_w) >= _local14)) {
_local10 = _local3.getPower();
_local9 = _local5.getPower();
_local5.hit(_local3.getType(), _local10);
_local3.hit(_local5.getType(), _local9);
_local8 = true;
}
}
}
_local4--;
}
if (_local8) {
break;
}
_local7++;
}
if (_local8) {
break;
}
_local11++;
}
}
}
function forceDestroy() {
var _local2;
var _local1;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.get(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
_local1 = _local2.getFirst();
while (!_local2.isLast(_local1)) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local1.get()).forceDestroy();
_local1 = _local1.m_next;
}
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.get(jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
_local1 = _local2.getFirst();
while (!_local2.isLast(_local1)) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement(_local1.get()).hit(jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_FORCEDESTROY, 0);
_local1 = _local1.m_next;
}
}
function destroy() {
delete m_enemyMap;
delete m_bulletMap;
}
}
Symbol 3068 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionMap] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionMap
{
var m_xdiv, m_ydiv, m_map, m_count, m_w, m_h, m_partW, m_partH;
function CollisionMap (xdiv, ydiv) {
m_xdiv = xdiv;
m_ydiv = ydiv;
m_map = [];
m_count = 0;
setSize(640, 480);
}
function reset() {
var _local4;
var _local2;
var _local3;
m_map = [];
_local4 = m_xdiv - 1;
while (_local4 >= 0) {
_local3 = [];
_local2 = m_ydiv - 1;
while (_local2 >= 0) {
_local3.push([]);
_local2--;
}
m_map.push(_local3);
_local4--;
}
m_count = 0;
}
function setSize(w, h) {
m_w = w;
m_h = h;
m_partW = m_w / m_xdiv;
m_partH = m_h / m_ydiv;
}
function get(x, y) {
return(m_map[x][y]);
}
function append(x1, y1, x2, y2, obj) {
var _local3;
var _local2;
x1 = calcX(x1);
x2 = calcX(x2);
y1 = calcY(y1);
y2 = calcY(y2);
_local3 = x1;
while (_local3 <= x2) {
_local2 = y1;
while (_local2 <= y2) {
m_map[_local3][_local2].push(obj);
m_count++;
_local2++;
}
_local3++;
}
}
function calcX(x1) {
if (x1 < 0) {
x1 = 0;
}
if (x1 >= m_w) {
x1 = m_w - 1;
}
return(Math.floor(x1 / m_partW));
}
function calcY(y1) {
if (y1 < 0) {
y1 = 0;
}
if (y1 >= m_h) {
y1 = m_h - 1;
}
return(Math.floor(y1 / m_partH));
}
function disp(name) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Debug.output((("CollisionMap " + name) + " Num:") + m_count);
}
}
Symbol 3069 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData
{
function CollisionData () {
}
static function createFloor(y, x, width, prev, next) {
var _local1;
_local1 = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData();
_local1.y = y;
_local1.x = x;
_local1.width = width;
_local1.height = 0;
_local1.type = CT_FLOOR;
_local1.prev = ((prev == undefined) ? 0 : (prev));
_local1.next = ((next == undefined) ? 0 : (next));
_local1.floor = -1;
return(_local1);
}
static function createWall(x, y, width, height, prev, next) {
var _local1;
_local1 = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData();
_local1.x = x;
_local1.y = y;
_local1.width = width;
_local1.height = height;
_local1.type = CT_WALL;
_local1.prev = ((prev == undefined) ? 0 : (prev));
_local1.next = ((next == undefined) ? 0 : (next));
_local1.floor = -1;
return(_local1);
}
static function createSlope(x, y, width, dir, prev, next) {
var _local1;
_local1 = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData();
_local1.x = x;
_local1.y = y;
_local1.width = width;
_local1.height = 0;
_local1.dir = dir;
_local1.type = CT_SLOPE;
_local1.prev = ((prev == undefined) ? 0 : (prev));
_local1.next = ((next == undefined) ? 0 : (next));
_local1.floor = -1;
return(_local1);
}
static var CT_FLOOR = 1;
static var CT_WALL = 2;
static var CT_SLOPE = 3;
}
Symbol 3070 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ExtraShot] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ExtraShot extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot
{
var m_type;
function ExtraShot (context) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT;
}
}
Symbol 3071 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ChainWave] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ChainWave extends jp.bambooshootdesign.app.heavymetalgirl.enemy.ExtraShot
{
var m_x, m_y, m_w, m_h, m_area, m_count, m_power, m_mc, m_context, m_wl, m_bg;
function ChainWave (context, x, y, power) {
super(context);
m_x = x;
m_y = y;
m_w = (m_h = EXP_SIZE_START);
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_count = 0;
m_power = power;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "ChainWaveMC", "ChainWave", m_context.getBase());
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._xscale = (m_mc._yscale = EXP_SCALE);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_PLAYER);
}
function move() {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_count = m_count + _local2;
m_w = (m_h = EXP_SIZE_START + ((m_count * (EXP_SIZE_END - EXP_SIZE_START)) / EXP_TIME));
return(m_count < EXP_TIME);
}
function ctrl() {
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc.gotoAndStop(Math.floor((m_count * m_mc._totalframes) / EXP_TIME) + 1);
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_w = m_w / 2;
m_area.m_h = m_h / 2;
return(m_area);
}
function hit() {
}
function getPower() {
return(m_power + 1);
}
function isActive() {
return(true);
}
function getNumber() {
return(m_mc.getDepth());
}
static var EXP_TIME = 1000;
static var EXP_SCALE = 160;
static var EXP_SIZE_START = 0;
static var EXP_SIZE_END = 192;
}
Symbol 3072 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_value, m_count, m_mcDummy, m_context, m_mcNumber, m_wl;
function ScoreNumber (context, x, y, value) {
super(context);
var _local3;
m_x = x;
m_y = y;
m_value = value;
m_count = 0;
_local3 = jp.bambooshootdesign.util.Str.toStr(m_value).length;
m_mcDummy = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "DummyMC", "ScoreDummy", m_context.getBase());
m_mcDummy._x = m_x;
m_mcDummy._y = m_y;
m_mcDummy._visible = true;
m_mcNumber = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(context, (-(8 * _local3)) / 2, -8, m_value, _local3, "Small", m_mcDummy);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
return(m_count <= DISPLAY_TIME);
}
function ctrl() {
return(true);
}
function disp() {
if (m_count < SCALE_TIME) {
m_mcDummy._xscale = (m_mcDummy._yscale = (m_count * 100) / SCALE_TIME);
} else {
m_mcDummy._xscale = (m_mcDummy._yscale = 100);
}
m_mcDummy._y = m_y - ((m_count * MOVE_Y) / DISPLAY_TIME);
m_mcNumber.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
m_mcNumber.destroy();
m_mcDummy.removeMovieClip();
}
static var DISPLAY_TIME = 1000;
static var SCALE_TIME = 200;
static var MOVE_Y = 32;
}
Symbol 3073 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_value, m_newValue, m_digit, m_mcList;
function GraphicNumber (context, x, y, value, digit, type, parentMC) {
super(context);
var _local5;
var _local6;
m_x = x;
m_y = y;
m_value = 0;
m_newValue = value;
m_digit = digit;
if (type == "Normal") {
_local5 = "NumberNormalMC";
_local6 = 16;
} else {
_local5 = "NumberSmallMC";
_local6 = 8;
}
m_mcList = [];
var _local4 = 0;
while (_local4 < digit) {
var _local3;
_local3 = jp.bambooshootdesign.util.MovieClipFactory.createOnMc(parentMC, _local5, _local5);
_local3._x = (m_x + (_local6 * _local4)) + (_local3._width / 2);
_local3._y = m_y + (_local3._height / 2);
_local3.gotoAndStop(1);
_local3._visible = true;
m_mcList.push(_local3);
_local4++;
}
}
function move() {
return(true);
}
function ctrl() {
return(true);
}
function disp() {
if (m_value != m_newValue) {
var _local3 = m_newValue;
var _local2 = m_digit - 1;
while (_local2 >= 0) {
m_mcList[_local2].gotoAndStop((_local3 % 10) + 1);
_local3 = Math.floor(_local3 / 10);
_local2--;
}
m_value = m_newValue;
}
}
function destroy() {
var _local2 = 0;
while (_local2 < m_digit) {
m_mcList[_local2].removeMovieClip();
_local2++;
}
delete m_mcList;
}
function setValue(value) {
m_newValue = value;
}
}
Symbol 3074 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Item] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Item extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_x, m_y, m_w, m_h, m_itemType, m_angle, m_speed, m_hp, m_area, m_cst, m_count, m_xadd, m_yadd, m_lastg, m_wl, m_context, m_eg, m_mc;
function Item (context, type, x, y, angle, speed) {
super(context);
m_x = x;
m_y = y + (MC_HEIGHT / 2);
m_w = WIDTH;
m_h = HEIGHT;
m_itemType = type;
m_angle = angle;
m_speed = speed;
m_hp = 1;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_count = 0;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
m_lastg = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_POWERUP);
}
function move() {
var _local2;
var _local3;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
m_count = m_count + _local2;
if (m_cst.idx == -1) {
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_cst.nx = m_cst.nx + (m_xadd * _local2);
m_cst.ny = m_cst.ny + (m_yadd * _local2);
_local3 = (GRAVITY * (m_count / 1000)) * (m_count / 1000);
m_cst.ny = m_cst.ny + (_local3 - m_lastg);
m_lastg = _local3;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.check(m_cst);
}
return(m_count < ALIVE_TIME);
}
function ctrl() {
if (m_hp == 0) {
return(false);
}
return(true);
}
function disp() {
var _local2;
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny - (MC_HEIGHT / 2);
if (m_count > BRINK_TIME) {
_local2 = (m_count - BRINK_TIME) % BRINK_SPAN;
_local2 = ((_local2 > (BRINK_SPAN / 2)) ? (BRINK_SPAN - _local2) : (_local2));
m_mc._alpha = 100 - ((_local2 * 75) / (BRINK_SPAN / 2));
}
m_mc.item.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc.item._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny - (m_h / 2);
return(m_area);
}
function hit(type, power) {
}
function isActive() {
return(m_hp > 0);
}
static var MC_WIDTH = 64;
static var MC_HEIGHT = 64;
static var WIDTH = 40;
static var HEIGHT = 52;
static var GRAVITY = 200;
static var ALIVE_TIME = 5500;
static var BRINK_TIME = 3000;
static var BRINK_SPAN = 1000;
}
Symbol 3075 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemScore extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Item
{
var m_type, m_mc, m_context, m_itemType, m_hp;
function ItemScore (context, type, x, y, angle, speed) {
super(context, type, x, y, angle, speed);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "ScoreItemMC", "ScoreItem", m_context.getBase());
m_mc.gotoAndStop(m_itemType);
m_mc.item.stop();
m_mc._visible = true;
}
function hit(type, power) {
if (type == jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getScoreItem(m_itemType);
m_hp = 0;
}
}
static var SCI_1 = 1;
static var SCI_2 = 2;
static var SCI_MAX = 2;
}
Symbol 3076 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ItemPowerUp extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Item
{
var m_type, m_mc, m_context, m_itemType, m_hp;
function ItemPowerUp (context, type, x, y, angle, speed) {
super(context, type, x, y, angle, speed);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_POWERUP;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "PowerUpItemMC", "PowerUpItem", m_context.getBase());
m_mc.gotoAndStop(m_itemType);
m_mc.item.stop();
m_mc._visible = true;
}
function hit(type, power) {
if (type == jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPowerUpItem(m_itemType);
m_hp = 0;
}
}
static var PUI_CLOCK = 1;
static var PUI_HEART = 2;
static var PUI_SKATE = 3;
static var PUI_SPEAKER = 4;
static var PUI_MAX = 4;
}
Symbol 3077 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.RestTimeBonusController] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.RestTimeBonusController extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_orgTime, m_nowTime, m_count, m_countTime, m_wl, m_context;
function RestTimeBonusController (context, param) {
super(context);
m_orgTime = Math.floor(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRestTime() / 1000);
m_nowTime = 0;
m_count = 0;
m_countTime = param.time;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
var _local2;
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= m_countTime) {
m_count = m_countTime;
}
_local2 = Math.floor((m_count * m_orgTime) / m_countTime);
if (m_nowTime < _local2) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore((_local2 - m_nowTime) * SEC_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("ScoreCount", 100);
m_nowTime = _local2;
} else if (m_nowTime < m_orgTime) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(SEC_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("ScoreCount", 100);
m_nowTime++;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setRestTime((m_orgTime - m_nowTime) * 1000);
return(m_count < m_countTime);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
static function create(context, param, count) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.RestTimeBonusController(context, param));
}
static var SEC_SCORE = 30;
}
Symbol 3078 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.StageBackGround] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.StageBackGround extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_mc, m_context, m_x, m_y, m_color, m_mcFloor, m_param, m_wl;
function StageBackGround (context, param) {
super(context);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, ("Stage" + param.stage) + "BackGroundMC", "BackGround", m_context.getBase());
m_x = (-((m_mc._width * 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH)) / 2;
m_y = 0;
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._xscale = 200;
m_mc._yscale = 200;
m_mc._visible = true;
m_color = new Color(m_mc);
m_color.setTransform(param.color);
m_mcFloor = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, ((("Stage" + param.stage) + "-") + param.floor) + "MC", "Floor", m_context.getBase());
m_mcFloor._x = m_x;
m_mcFloor._y = m_y;
m_mcFloor._xscale = 200;
m_mcFloor._yscale = 200;
m_mcFloor._visible = true;
m_param = param;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
m_mcFloor.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.StageBackGround(context, param));
}
}
Symbol 3079 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase
{
var m_width, m_height, m_speed, m_attackTime, m_attackShot, m_attackRigit, m_actionCode, m_score, m_mc, m_context, m_color, m_wl, m_eg, m_dir, m_cst;
function Phantom01 (context, param) {
super(context, param);
m_width = MC_WIDTH;
m_height = MC_HEIGHT;
m_speed = WALK_SPEED;
m_attackTime = 31;
m_attackShot = 15;
m_attackRigit = 15;
m_actionCode = 0;
m_score = SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Phantom01MC", "Phantom01", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
}
function move() {
var _local2;
_local2 = super.move();
if (_local2) {
}
return(_local2);
}
function ctrl() {
var _local2;
_local2 = super.ctrl();
return(_local2);
}
function attack() {
var _local2;
var _local6;
var _local5;
var _local4;
var _local3;
if (m_dir == jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase.DIR_LEFT) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(180);
_local6 = (-m_width) / 4;
} else {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(0);
_local6 = m_width / 4;
}
_local5 = ATTACK_SHOT_POWER;
_local4 = ATTACK_SHOT_SPEED;
_local3 = ATTACK_SHOT_TIME;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotWave(m_context, m_cst.x + 0, m_cst.y - (m_height / 2), _local2, _local4, _local5, _local3);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyShot", 100);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01(context, param));
}
static var MC_WIDTH = 36;
static var MC_HEIGHT = 64;
static var WALK_SPEED = 3;
static var ATTACK_SHOT_SPEED = 240;
static var ATTACK_SHOT_POWER = 1;
static var ATTACK_SHOT_TIME = 500;
static var SCORE = 100;
}
Symbol 3080 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot
{
var m_type;
function EnemyShot (context) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_SHOT;
}
}
Symbol 3081 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotWave] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotWave extends jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot
{
var m_x, m_y, m_w, m_h, m_hp, m_time, m_area, m_cst, m_speed, m_angle, m_xadd, m_yadd, m_liveTime, m_count, m_mc, m_context, m_wl, m_bg;
function EnemyShotWave (context, x, y, angle, speed, damage, time) {
super(context);
m_x = x;
m_y = y;
m_w = WIDTH;
m_h = HEIGHT;
m_hp = damage;
m_time = time;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_speed = speed;
m_angle = angle;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
var _local4;
var _local3;
_local3 = -1;
if (m_yadd != 0) {
if (m_yadd < 0) {
_local3 = Math.floor((((-m_y) - 40) / m_yadd) + 1);
} else {
_local3 = Math.floor((((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 40) - m_y) / m_yadd) + 1);
}
}
if (m_xadd != 0) {
if (m_xadd < 0) {
_local4 = Math.floor(((-m_x) / m_xadd) + 1);
} else {
_local4 = Math.floor(((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - m_x) / m_xadd) + 1);
}
if ((_local3 > _local4) || (_local3 == -1)) {
_local3 = _local4;
}
}
if (_local3 > time) {
_local3 = time;
}
m_liveTime = _local3;
m_count = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotWaveMC", "EnemyShotWaveMC", m_context.getBase());
m_mc._rotation = -((m_angle / Math.PI) * 180);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
}
function move() {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_cst.nx = m_cst.nx + (m_xadd * _local2);
m_cst.ny = m_cst.ny + (m_yadd * _local2);
m_count = m_count + _local2;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.checkLand(m_cst);
if (m_cst.idx != -1) {
}
return((m_count <= m_liveTime) && (m_cst.idx == -1));
}
function ctrl() {
if (m_hp <= 0) {
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_cst.nx;
m_mc._y = m_cst.ny;
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_cst.nx;
m_area.m_y = m_cst.ny;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
m_hp = 0;
}
function isActive() {
return(m_hp > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
static var WIDTH = 28;
static var HEIGHT = 36;
}
Symbol 3082 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom02 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase
{
var m_width, m_height, m_speed, m_attackTime, m_attackShot, m_attackRigit, m_actionCode, m_score, m_mc, m_context, m_color, m_wl, m_eg, m_dir, m_cst;
function Phantom02 (context, param) {
super(context, param);
m_width = MC_WIDTH;
m_height = MC_HEIGHT;
m_speed = WALK_SPEED;
m_attackTime = 31;
m_attackShot = 15;
m_attackRigit = 15;
m_actionCode = 0;
m_score = SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Phantom02MC", "Phantom02", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
}
function move() {
var _local2;
_local2 = super.move();
if (_local2) {
}
return(_local2);
}
function ctrl() {
var _local2;
_local2 = super.ctrl();
return(_local2);
}
function attack() {
var _local2;
var _local4;
var _local3;
var _local5;
if (m_dir == jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase.DIR_LEFT) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(135);
} else {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(45);
}
_local4 = ATTACK_SHOT_POWER;
_local3 = ATTACK_SHOT_SPEED;
_local5 = ATTACK_SHOT_TIME;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBomb(m_context, m_cst.x, m_cst.y - (m_height / 2), _local2, _local3, _local4);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyReaction(m_context, m_cst.x, m_cst.y, _local2);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyShot", 100);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom02(context, param));
}
static var MC_WIDTH = 36;
static var MC_HEIGHT = 64;
static var WALK_SPEED = 3;
static var ATTACK_SHOT_SPEED = 240;
static var ATTACK_SHOT_POWER = 1;
static var ATTACK_SHOT_TIME = 500;
static var SCORE = 100;
}
Symbol 3083 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBomb] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBomb extends jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot
{
var m_x, m_y, m_w, m_h, m_angle, m_speed, m_hp, m_area, m_cst, m_count, m_animeCount, m_xadd, m_yadd, m_lastg, m_mc, m_context, m_wl, m_bg;
function EnemyShotBomb (context, x, y, angle, speed, damage) {
super(context);
m_x = x;
m_y = y;
m_w = WIDTH;
m_h = HEIGHT;
m_angle = angle;
m_speed = speed;
m_hp = damage;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_count = 0;
m_animeCount = 0;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
m_lastg = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotBombMC", "EnemyShotBomb", m_context.getBase());
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
}
function move() {
var _local2;
var _local3;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + _local2;
m_animeCount++;
m_x = m_x + (m_xadd * _local2);
m_y = m_y + (m_yadd * _local2);
_local3 = (GRAVITY * (m_count / 1000)) * (m_count / 1000);
m_y = m_y + (_local3 - m_lastg);
m_lastg = _local3;
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_cst.nx = m_x;
m_cst.ny = m_y + (HEIGHT / 2);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.check(m_cst);
if (((m_cst.idx != -1) || (m_x != m_cst.nx)) || ((m_y + (HEIGHT / 2)) != m_cst.ny)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast(m_context, m_cst.nx, m_cst.ny, 200);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyHorming", 100);
return(false);
}
if ((((m_x < -10) || (m_x > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH + 10))) || (m_y < -10)) || (m_y > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 10))) {
return(false);
}
return(true);
}
function ctrl() {
if (m_hp <= 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast(m_context, m_cst.nx, m_cst.ny, 200);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyHorming", 100);
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
return(true);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_x;
m_area.m_y = m_y;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
m_hp = 0;
}
function isActive() {
return(m_hp > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
static var WIDTH = 24;
static var HEIGHT = 28;
static var GRAVITY = 200;
}
Symbol 3084 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_w, m_h, m_mc, m_context, m_wl, m_count;
function EnemyShotBlast (context, x, y, scale) {
super(context);
m_x = x;
m_y = y;
m_w = WIDTH;
m_h = HEIGHT;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotBlastMC", "EnemyShotBlast", m_context.getBase());
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._xscale = (m_mc._yscale = scale);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_count = 0;
}
function move() {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + _local2;
return(m_count < TIME);
}
function ctrl() {
return(true);
}
function disp() {
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
static var WIDTH = 48;
static var HEIGHT = 48;
static var TIME = 333;
}
Symbol 3085 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyReaction] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyReaction extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_mc, m_context, m_wl, m_count;
function EnemyReaction (context, x, y, angle) {
super(context);
m_x = x;
m_y = y;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyReactionMC", "EnemyReaction", m_context.getBase());
m_mc._x = m_x;
m_mc._y = m_y - (HEIGHT / 2);
m_mc._xscale = (((angle >= jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(90)) && (angle <= jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(270))) ? -100 : 100);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_count = 0;
}
function move() {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + _local2;
return(m_count < TIME);
}
function ctrl() {
return(true);
}
function disp() {
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
static var WIDTH = 64;
static var HEIGHT = 64;
static var TIME = 333;
}
Symbol 3086 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Decoi01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Decoi01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase
{
var m_width, m_height, m_speed, m_attackTime, m_attackShot, m_attackRigit, m_actionCode, m_score, m_mc, m_context, m_color, m_wl, m_eg, m_dir, m_cst;
function Decoi01 (context, param) {
super(context, param);
m_width = MC_WIDTH;
m_height = MC_HEIGHT;
m_speed = WALK_SPEED;
m_attackTime = 31;
m_attackShot = 20;
m_attackRigit = 20;
m_actionCode = 0;
m_score = SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Decoi01MC", "Decoi01", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
}
function move() {
var _local2;
_local2 = super.move();
if (_local2) {
}
return(_local2);
}
function ctrl() {
var _local2;
_local2 = super.ctrl();
return(_local2);
}
function attack() {
var _local2;
var _local3;
var _local6;
var _local5;
var _local4;
if (m_dir == jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase.DIR_LEFT) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(180);
_local3 = (-m_width) / 2;
} else {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(0);
_local3 = m_width / 2;
}
_local6 = ATTACK_SHOT_POWER;
_local5 = ATTACK_SHOT_SPEED;
_local4 = ATTACK_SHOT_TIME;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow(m_context, m_cst.x + _local3, m_cst.y - 48, _local2, _local5, _local6, _local4);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyShot", 100);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Decoi01(context, param));
}
static var MC_WIDTH = 36;
static var MC_HEIGHT = 52;
static var WALK_SPEED = 2;
static var ATTACK_SHOT_SPEED = 400;
static var ATTACK_SHOT_POWER = 1;
static var ATTACK_SHOT_TIME = 5000;
static var SCORE = 100;
}
Symbol 3087 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow extends jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot
{
var m_x, m_y, m_w, m_h, m_hp, m_time, m_area, m_speed, m_angle, m_xadd, m_yadd, m_liveTime, m_count, m_mc, m_context, m_wl, m_bg;
function EnemyShotArrow (context, x, y, angle, speed, damage, time) {
super(context);
m_x = x;
m_y = y;
m_w = WIDTH;
m_h = HEIGHT;
m_hp = damage;
m_time = time;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_speed = speed;
m_angle = angle;
m_xadd = (Math.cos(m_angle) * m_speed) / 1000;
m_yadd = ((-Math.sin(m_angle)) * m_speed) / 1000;
var _local4;
var _local3;
_local3 = -1;
if (m_yadd != 0) {
if (m_yadd < 0) {
_local3 = Math.floor((((-m_y) - 40) / m_yadd) + 1);
} else {
_local3 = Math.floor((((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 40) - m_y) / m_yadd) + 1);
}
}
if (m_xadd != 0) {
if (m_xadd < 0) {
_local4 = Math.floor(((-m_x) / m_xadd) + 1);
} else {
_local4 = Math.floor(((jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH - m_x) / m_xadd) + 1);
}
if ((_local3 > _local4) || (_local3 == -1)) {
_local3 = _local4;
}
}
if (_local3 > time) {
_local3 = time;
}
m_liveTime = _local3;
m_count = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotArrowMC", "EnemyShotArrowMC", m_context.getBase());
m_mc._rotation = -((m_angle / Math.PI) * 180);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
}
function move() {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_x = m_x + (m_xadd * _local2);
m_y = m_y + (m_yadd * _local2);
m_count = m_count + _local2;
return(m_count <= m_liveTime);
}
function ctrl() {
if (m_hp <= 0) {
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_x;
m_area.m_y = m_y;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
m_hp = 0;
}
function isActive() {
return(m_hp > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
static var WIDTH = 8;
static var HEIGHT = 8;
}
Symbol 3088 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Robo01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Robo01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase
{
var m_width, m_height, m_speed, m_attackTime, m_attackShot, m_attackRigit, m_actionCode, m_score, m_mc, m_context, m_color, m_wl, m_eg, m_dir, m_cst;
function Robo01 (context, param) {
super(context, param);
m_width = MC_WIDTH;
m_height = MC_HEIGHT;
m_speed = WALK_SPEED;
m_attackTime = 31;
m_attackShot = 13;
m_attackRigit = 13;
m_actionCode = 0;
m_score = SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Robo01MC", "Robo01", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
}
function move() {
var _local2;
_local2 = super.move();
if (_local2) {
}
return(_local2);
}
function ctrl() {
var _local2;
_local2 = super.ctrl();
return(_local2);
}
function attack() {
var _local2;
var _local4;
var _local3;
var _local5;
if (m_dir == jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase.DIR_LEFT) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(135);
} else {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(45);
}
_local4 = ATTACK_SHOT_POWER;
_local3 = ATTACK_SHOT_SPEED;
_local5 = ATTACK_SHOT_TIME;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotMissile(m_context, m_cst.x, m_cst.y - (m_height / 2), _local2, _local3, _local4);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyReaction(m_context, m_cst.x, m_cst.y, _local2);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyShot", 100);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Robo01(context, param));
}
static var MC_WIDTH = 56;
static var MC_HEIGHT = 50;
static var WALK_SPEED = 2;
static var ATTACK_SHOT_SPEED = 160;
static var ATTACK_SHOT_POWER = 1;
static var ATTACK_SHOT_TIME = 500;
static var SCORE = 100;
}
Symbol 3089 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotMissile] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotMissile extends jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShot
{
var m_x, m_y, m_w, m_h, m_angle, m_speed, m_hp, m_area, m_cst, m_count, m_oldCount, m_nextCount, m_animeCount, m_totalCount, m_smokeCount, m_status, m_mc, m_context, m_wl, m_bg, m_xadd, m_yadd, m_angleadd;
function EnemyShotMissile (context, x, y, angle, speed, damage) {
super(context);
m_x = x;
m_y = y;
m_w = WIDTH;
m_h = HEIGHT;
m_angle = angle;
m_speed = speed;
m_hp = damage;
m_area = {m_x:m_x, m_y:m_y, m_w:m_w / 2, m_h:m_h / 2};
m_cst = new jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionStatus();
m_cst.x = m_x;
m_cst.y = m_y;
m_cst.nx = m_x;
m_cst.ny = m_y;
m_count = 0;
m_oldCount = 0;
m_nextCount = HORMING_CHECK_START;
m_animeCount = 0;
m_totalCount = 0;
m_smokeCount = 0;
m_status = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotMissileMC", "EnemyShotMissile", m_context.getBase());
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_bg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_ENEMY);
}
function move() {
var _local3;
var _local6 = true;
var _local5;
_local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local5 = (_local5 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + _local5;
m_totalCount = m_totalCount + _local5;
m_smokeCount = m_smokeCount + _local5;
m_animeCount++;
do {
_local3 = false;
switch (m_status) {
case 0 :
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.hormingAngle(m_angle, jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngle(m_x, m_y), HORMING_ANGLE);
m_status++;
m_xadd = (Math.cos(_local2) * m_speed) / 1000;
m_yadd = ((-Math.sin(_local2)) * m_speed) / 1000;
m_angleadd = (m_angle - _local2) % jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360);
if (m_angleadd > jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(180)) {
m_angleadd = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360) - m_angleadd;
} else {
m_angleadd = -m_angleadd;
}
m_angleadd = m_angleadd / m_nextCount;
_local3 = true;
break;
case 1 :
var _local4;
if (m_count >= m_nextCount) {
_local4 = m_nextCount - m_oldCount;
m_count = m_count - m_nextCount;
m_oldCount = 0;
m_nextCount = m_nextCount + HORMING_CHECK_INC;
if (m_nextCount > HORMING_CHECK_END) {
m_status++;
} else {
m_status--;
}
_local3 = true;
} else {
_local4 = m_count - m_oldCount;
m_oldCount = m_count;
}
m_x = m_x + (m_xadd * _local4);
m_y = m_y + (m_yadd * _local4);
m_angle = m_angle + (m_angleadd * _local4);
break;
case 2 :
_local4 = m_count - m_oldCount;
m_oldCount = m_count;
m_x = m_x + (m_xadd * _local4);
m_y = m_y + (m_yadd * _local4);
}
} while (_local3);
m_cst.x = m_cst.nx;
m_cst.y = m_cst.ny;
m_cst.nx = m_x + (Math.cos(m_angle) * m_w);
m_cst.ny = m_y - (Math.sin(m_angle) * m_w);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.checkLand(m_cst);
if (m_cst.idx != -1) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast(m_context, m_cst.nx, m_cst.ny, 200);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyHorming", 100);
return(false);
}
if (m_smokeCount >= SMOKE_TIME) {
m_cst.nx = m_x - ((Math.cos(m_angle) * m_w) / 2);
m_cst.ny = m_y + ((Math.sin(m_angle) * m_w) / 2);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotSmoke(m_context, m_cst.nx, m_cst.ny);
m_smokeCount = 0;
}
if ((((m_x < -10) || (m_x > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_WIDTH + 10))) || (m_y < -10)) || (m_y > (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.GAME_HEIGHT + 10))) {
return(false);
}
return(true);
}
function ctrl() {
if (m_hp <= 0) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotBlast(m_context, m_cst.nx, m_cst.ny, 200);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyHorming", 100);
return(false);
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._rotation = -((m_angle / Math.PI) * 180);
m_mc.gotoAndStop((Math.floor(m_totalCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
return(true);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.cut(m_bg);
delete m_wl;
delete m_bg;
m_mc.removeMovieClip();
}
function getArea() {
m_area.m_x = m_x;
m_area.m_y = m_y;
return(m_area);
}
function getPower() {
return(1);
}
function hit(type, power) {
m_hp = 0;
}
function isActive() {
return(m_hp > 0);
}
function getNumber() {
return(m_mc.getDepth());
}
static var WIDTH = 16;
static var HEIGHT = 16;
static var HORMING_CHECK_START = 125;
static var HORMING_CHECK_END = 250;
static var HORMING_CHECK_INC = 25;
static var HORMING_ANGLE = 0.314159265358979;
static var SMOKE_TIME = 250;
}
Symbol 3090 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotSmoke] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotSmoke extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_x, m_y, m_mc, m_context, m_wl, m_count;
function EnemyShotSmoke (context, x, y) {
super(context);
m_x = x;
m_y = y;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "EnemyShotSmokeMC", "EnemyShotSmoke", m_context.getBase());
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_count = 0;
}
function move() {
var _local2;
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
_local2 = (_local2 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
m_count = m_count + _local2;
return(m_count < TIME);
}
function ctrl() {
return(true);
}
function disp() {
m_mc.gotoAndStop((Math.floor(m_count / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
static var TIME = 333;
}
Symbol 3091 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Spider01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Spider01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase
{
var m_width, m_height, m_speed, m_attackTime, m_attackShot, m_attackRigit, m_actionCode, m_score, m_mc, m_context, m_color, m_wl, m_eg, m_dir, m_cst;
function Spider01 (context, param) {
super(context, param);
m_width = MC_WIDTH;
m_height = MC_HEIGHT;
m_speed = WALK_SPEED;
m_attackTime = 31;
m_attackShot = 15;
m_attackRigit = 15;
m_actionCode = 0;
m_score = SCORE;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Spider01MC", "Spider01", m_context.getBase());
m_color = new Color(m_mc);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
}
function move() {
var _local2;
_local2 = super.move();
if (_local2) {
}
return(_local2);
}
function ctrl() {
var _local2;
_local2 = super.ctrl();
return(_local2);
}
function attack() {
var _local2;
var _local4;
var _local3;
if (m_dir == jp.bambooshootdesign.app.heavymetalgirl.enemy.MoveEnemyBase.DIR_LEFT) {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(135);
} else {
_local2 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(45);
}
_local4 = ATTACK_SHOT_POWER;
_local3 = ATTACK_SHOT_SPEED;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotMissile(m_context, m_cst.x, m_cst.y - (m_height / 2), _local2, _local3, _local4);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyReaction(m_context, m_cst.x, m_cst.y, _local2);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("EnemyShot", 100);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Spider01(context, param));
}
static var MC_WIDTH = 64;
static var MC_HEIGHT = 40;
static var WALK_SPEED = 4;
static var ATTACK_SHOT_SPEED = 200;
static var ATTACK_SHOT_POWER = 1;
static var SCORE = 100;
}
Symbol 3092 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemy01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemy01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemyBase
{
var m_mc, m_context, m_x, m_y, m_wl;
function PlaceEnemy01 (context, param) {
super(context, param);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss01BodyMC", "Boss01Body", m_context.getBase());
m_x = (-m_mc._width) / 2;
m_y = 40;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
return(super.move());
}
function ctrl() {
super.ctrl();
return(true);
}
function disp() {
super.disp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
super.destroy();
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.PlaceEnemy01(context, param));
}
}
Symbol 3093 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss01 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_mcEntrance, m_context, m_mcBody, m_wl, m_eg, m_colorTrans, m_colorBody, m_colorEntrance, m_colList, m_entranceY, m_forceDestroy;
function Boss01 (context, param) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = START_X;
m_y = START_Y;
m_visible = true;
m_mode = MODE_INIT;
m_action = ACTION_IN;
m_count = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_mcEntrance = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss01EntranceMC", "Boss01Entrance", m_context.getBase());
m_mcBody = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss01BodyMC", "Boss01Body", m_context.getBase());
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_colorTrans = {};
m_colorBody = new Color(m_mcBody);
m_colorEntrance = new Color(m_mcEntrance);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 176, 44, 0, -56));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 252, 84, 0, 8));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 116, 80, 0, ENTRANCE_Y));
m_entranceY = 0;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
var _local20;
var _local4;
_local20 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local20 = (_local20 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local20;
m_damageTime = m_damageTime - _local20;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local4 = false;
switch (m_mode) {
case MODE_INIT :
m_mode = MODE_IN;
_local4 = true;
break;
case MODE_IN :
if (m_count >= IN_TIME) {
var _local11 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
m_count = m_count - IN_TIME;
m_x = START_X;
m_y = IN_Y;
m_mode = MODE_NORMAL;
_local4 = true;
_local11.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN, {});
} else {
m_x = START_X;
m_y = START_Y + (((IN_Y - START_Y) * m_count) / IN_TIME);
}
break;
case MODE_NORMAL :
var _local30;
var _local9;
var _local12;
var _local5;
_local30 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_x = START_X;
m_y = IN_Y + (Math.sin(_local30) * MOVE_Y);
if (m_isAttack) {
_local9 = m_attackCount - ATTACK_START_TIME;
m_attackCount = m_attackCount + _local20;
m_attackCount = m_attackCount % ATTACK_TOTAL_TIME;
_local12 = m_attackCount - ATTACK_START_TIME;
if (m_attackCount <= ATTACK_START_TIME) {
_local5 = 0;
} else if (m_attackCount <= (ATTACK_START_TIME + ENTRANCE_MOVE_TIME)) {
_local5 = m_attackCount - ATTACK_START_TIME;
} else if (m_attackCount <= (ATTACK_TOTAL_TIME - ENTRANCE_MOVE_TIME)) {
_local5 = ENTRANCE_MOVE_TIME;
} else {
_local5 = ATTACK_TOTAL_TIME - m_attackCount;
if (_local5 < 0) {
_local5 = 0;
}
}
m_entranceY = (_local5 * ENTRANCE_MOVE_Y) / ENTRANCE_MOVE_TIME;
if (m_attackCount >= ATTACK_START_TIME) {
if ((_local9 < ATTACK_SHOT_TIME) && (_local12 >= ATTACK_SHOT_TIME)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.getLength(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY) < ENEMY_MAX) {
var _local13;
var _local14;
var _local10;
var _local21;
var _local6;
_local13 = {action:{STOP:{freq:0, time:5}, STROLL:{freq:20, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:5, time:5}, BLOCK_DOWN:{freq:5, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:false, end:[]};
_local6 = Math.floor(Math.random() * SPEED_LIST.length);
_local21 = SPEED_LIST[_local6];
_local30 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(ANGLE_LIST[_local6]);
_local14 = {x:m_x, y:m_y + 90, speed:_local21, angle:_local30};
_local10 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01(m_context, _local13);
_local10.setMode("SHOT", _local14);
}
}
}
if (m_hp <= 0) {
var _local11 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.forceDestroy();
}
_local11.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_STAGE_END});
m_hp = 0;
m_mode = MODE_DESTROY;
_local4 = true;
}
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount++;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local4 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local3;
var _local2;
var _local8;
var _local7;
_local3 = (m_x + (Math.random() * 250)) - 125;
_local2 = (m_y + (Math.random() * 100)) - 50;
_local8 = (Math.random() * 100) + 100;
_local7 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, _local8, _local7);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 100);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local4 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local3 = (m_x + (Math.random() * 80)) - 40;
var _local2 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 500, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 1000, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == 1) {
var _local3 = (m_x + (Math.random() * 80)) - 40;
var _local2 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 500, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 1000, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 750, 1000);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 500, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 150);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXP_WAIT_TIME) {
m_mode = MODE_END;
var _local11 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local11.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY, {});
}
break;
case MODE_END :
}
} while (_local4);
if (m_isAttack) {
_local5 = m_colList.length - 2;
while (_local5 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local5]).appendEnemy(m_x, m_y);
_local5--;
}
var _local35 = m_colList[m_colList.length - 1];
_local35.setParam(116, 80, 0, ENTRANCE_Y + m_entranceY);
_local35.appendEnemy(m_x, m_y);
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
return(true);
}
function disp() {
m_mcBody._x = m_x;
m_mcBody._y = m_y;
m_mcBody._visible = m_visible;
m_mcEntrance._x = m_x;
m_mcEntrance._y = (m_y + ENTRANCE_Y) + m_entranceY;
m_mcEntrance._visible = m_visible;
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_colorBody.setTransform(m_colorTrans);
m_colorEntrance.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_colorBody;
delete m_colorEntrance;
m_mcBody.removeMovieClip();
m_mcEntrance.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START) {
m_isAttack = true;
m_action = ACTION_NORMAL;
}
}
function getPower() {
return(m_hp);
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss01(context, param));
}
static var START_X = 570;
static var START_Y = -100;
static var IN_TIME = 2000;
static var IN_Y = 150;
static var MOVE_TIME = 3000;
static var MOVE_Y = 20;
static var ATTACK_START_TIME = 2000;
static var ATTACK_SHOT_TIME = 500;
static var ATTACK_TOTAL_TIME = 3000;
static var MODE_INIT = 0;
static var MODE_IN = 100;
static var MODE_NORMAL = 200;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END = 400;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var ENEMY_MAX = 6;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 3000;
static var EXP_COUNT = 40;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXP_WAIT_TIME = 2000;
static var BOSS_SCORE = 5000;
static var BOSS_HP = 250;
static var SPEED_LIST = [320, 330, 280, 240, 180];
static var ANGLE_LIST = [135, 120, 135, 135, 160];
static var ENTRANCE_Y = 9;
static var ENTRANCE_MOVE_TIME = 150;
static var ENTRANCE_MOVE_Y = 56;
}
Symbol 3094 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_enemy, m_area, m_xd, m_yd;
function CollisionProxy (enemy, w, h, xd, yd) {
super();
m_enemy = enemy;
m_area = {};
m_area.m_x = 0;
m_area.m_y = 0;
m_area.m_w = w / 2;
m_area.m_h = h / 2;
m_xd = xd;
m_yd = yd;
}
function getArea() {
m_area.m_x = m_enemy.getX() + m_xd;
m_area.m_y = m_enemy.getY() + m_yd;
return(m_area);
}
function setParam(w, h, xd, yd) {
m_area.m_w = w / 2;
m_area.m_h = h / 2;
m_xd = xd;
m_yd = yd;
}
function getPower() {
return(m_enemy.getPower());
}
function hit(type, power) {
m_enemy.hit(type, power);
}
function isActive() {
return(m_enemy.isActive());
}
function getX() {
return(m_enemy.getX());
}
function getY() {
return(m_enemy.getY());
}
function getType() {
return(m_enemy.getType());
}
function hitBullet(bulletNum) {
m_enemy.hitBullet(bulletNum);
}
function isSameBullet(bulletNum) {
return(m_enemy.isSameBullet(bulletNum));
}
function appendEnemy(x, y) {
var _local3;
var _local2;
x = x + m_xd;
y = y + m_yd;
_local3 = m_area.m_w;
_local2 = m_area.m_h;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.appendEnemy(x - _local3, y - _local2, x + _local3, y + _local2, this);
m_enemy.clearHitBullet();
}
}
Symbol 3095 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_time, m_count, m_mc, m_context, m_wl;
function Explosion (context, x, y, scale, time) {
super(context);
m_time = time;
m_count = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "ExplosionMC", "ExplosionMC", m_context.getBase());
m_mc._x = x;
m_mc._y = y;
m_mc._xscale = (m_mc._yscale = ((Math.random() < 0.5) ? (scale) : (-scale)));
m_mc._rotation = Math.random() * 360;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
return(m_count <= m_time);
}
function ctrl() {
return(true);
}
function disp() {
m_mc.gotoAndStop(Math.floor((m_count * m_mc._totalframes) / m_time) + 1);
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
}
Symbol 3096 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_time, m_xscale, m_yscale, m_count, m_mc, m_context, m_wl;
function ExplosionRing (context, x, y, xscale, yscale, rot, time) {
super(context);
m_time = time;
m_xscale = xscale;
m_yscale = yscale;
m_count = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BULLET, "ExplosionRingMC", "ExplosionRingMC", m_context.getBase());
m_mc._x = x;
m_mc._y = y;
m_mc._rotation = rot;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
return(m_count <= m_time);
}
function ctrl() {
return(true);
}
function disp() {
m_mc._xscale = (m_xscale * m_count) / m_time;
m_mc._yscale = (m_yscale * m_count) / m_time;
if (m_count > (m_time / 2)) {
m_mc._alpha = 100 - ((100 * (m_count - (m_time / 2))) / (m_time / 2));
} else {
m_mc._alpha = 100;
}
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
}
Symbol 3097 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss02 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_animeCount, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_headY, m_mcHead, m_context, m_mcBody, m_wl, m_eg, m_colorTrans, m_colorHead, m_colorBody, m_colList, m_forceDestroy;
function Boss02 (context, param) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = START_X;
m_y = START_Y;
m_visible = true;
m_mode = MODE_INIT;
m_action = ACTION_IN;
m_count = 0;
m_animeCount = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_headY = 0;
m_mcHead = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss02HeadMC", "Boss02Head", m_context.getBase());
m_mcBody = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss02BodyMC", "Boss02Body", m_context.getBase());
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_colorTrans = {};
m_colorHead = new Color(m_mcHead);
m_colorBody = new Color(m_mcBody);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 140, 70, 4, -91));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 210, 120, 0, 4));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 120, 50, 0, 89));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
var _local23;
var _local6;
_local23 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local23 = (_local23 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local23;
m_damageTime = m_damageTime - _local23;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local6 = false;
switch (m_mode) {
case MODE_INIT :
m_mode = MODE_IN;
_local6 = true;
break;
case MODE_IN :
if (m_count >= IN_TIME) {
var _local16 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
m_count = m_count - IN_TIME;
m_x = START_X;
m_y = IN_Y;
m_mode = MODE_NORMAL;
_local6 = true;
_local16.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN, {});
} else {
m_x = START_X;
m_y = START_Y + (((IN_Y - START_Y) * m_count) / IN_TIME);
}
break;
case MODE_NORMAL :
var _local33;
var _local11;
_local33 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_x = START_X;
m_y = IN_Y + (Math.sin(_local33) * MOVE_Y);
if (m_isAttack) {
var _local8;
var _local2;
var _local9;
_local11 = m_attackCount;
m_attackCount = m_attackCount + _local23;
if ((m_attackCount % ATTACK_TOTAL_TIME) >= ATTACK_START_TIME) {
_local8 = _local11 % ATTACK_TOTAL_TIME;
_local2 = m_attackCount % ATTACK_TOTAL_TIME;
if (_local2 < ATTACK_START_TIME) {
_local9 = 0;
} else if (_local2 < (ATTACK_START_TIME + ATTACK_HEAD_MOVE_TIME)) {
_local9 = _local2 - ATTACK_START_TIME;
} else if (_local2 < ((ATTACK_START_TIME + ATTACK_HEAD_MOVE_TIME) + (ATTACK_COUNT * ATTACK_SPAN))) {
_local9 = ATTACK_HEAD_MOVE_TIME;
} else {
_local9 = ATTACK_HEAD_MOVE_TIME - (_local2 - ((ATTACK_START_TIME + ATTACK_HEAD_MOVE_TIME) + (ATTACK_COUNT * ATTACK_SPAN)));
if (_local9 < 0) {
_local9 = 0;
}
}
m_headY = (_local9 * ATTACK_HEAD_MOVE_Y) / ATTACK_HEAD_MOVE_TIME;
_local9 = 1;
while (_local9 <= ATTACK_COUNT) {
var _local5 = ATTACK_START_TIME + (ATTACK_SPAN * _local9);
if ((_local8 < _local5) && (_local2 >= _local5)) {
var _local24;
var _local7;
_local33 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngleAdd(m_x, m_y - 90, -50);
_local24 = 120;
_local7 = 1;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotMissile(m_context, m_x, m_y - 90, _local33, _local24, _local7);
}
_local9++;
}
}
if ((m_attackCount % ENEMY_SHOT_TOTAL_TIME) >= ENEMY_SHOT_START_TIME) {
_local8 = _local11 % ENEMY_SHOT_TOTAL_TIME;
_local2 = m_attackCount % ENEMY_SHOT_TOTAL_TIME;
if ((_local8 < ENEMY_SHOT_START_TIME) && (_local2 >= ENEMY_SHOT_START_TIME)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.getLength(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY) < ENEMY_MAX) {
var _local13;
var _local17;
var _local12;
var _local10;
_local13 = {action:{STOP:{freq:0, time:5}, STROLL:{freq:20, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:5, time:5}, BLOCK_DOWN:{freq:5, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:false, end:[]};
_local10 = Math.floor(Math.random() * SPEED_LIST.length);
var _local24 = SPEED_LIST[_local10];
_local33 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(ANGLE_LIST[_local10]);
_local17 = {x:m_x, y:m_y + 90, speed:_local24, angle:_local33};
if (Math.random() > 0.5) {
_local12 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01(m_context, _local13);
} else {
_local12 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom02(m_context, _local13);
}
_local12.setMode("SHOT", _local17);
}
}
}
if (m_hp <= 0) {
var _local16 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.forceDestroy();
}
_local16.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_STAGE_END});
m_hp = 0;
m_mode = MODE_DESTROY;
_local6 = true;
}
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount++;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local6 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local4;
var _local3;
var _local15;
var _local14;
_local4 = (m_x + (Math.random() * 250)) - 125;
_local3 = (m_y + (Math.random() * 150)) - 75;
_local15 = (Math.random() * 100) + 100;
_local14 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, _local15, _local14);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 100);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local6 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 500, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 1000, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == 1) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 500, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 1000, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 750, 1000);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 500, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 150);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXP_WAIT_TIME) {
m_mode = MODE_END;
var _local16 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local16.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY, {});
}
break;
case MODE_END :
}
} while (_local6);
if (m_isAttack) {
var _local9 = m_colList.length - 1;
while (_local9 >= 1) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local9]).appendEnemy(m_x, m_y);
_local9--;
}
var _local38 = m_colList[0];
_local38.setParam(140, 70, 0, HEAD_Y + m_headY);
_local38.appendEnemy(m_x, m_y);
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
return(true);
}
function disp() {
m_mcBody._x = m_x;
m_mcBody._y = m_y;
m_mcBody._visible = m_visible;
m_mcHead._x = m_x;
m_mcHead._y = (m_y + m_headY) + HEAD_Y;
m_mcHead._visible = m_visible;
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_colorHead.setTransform(m_colorTrans);
m_colorBody.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_colorHead;
delete m_colorBody;
m_mcBody.removeMovieClip();
m_mcHead.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START) {
m_isAttack = true;
m_action = ACTION_NORMAL;
}
}
function getPower() {
return(m_hp);
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss02(context, param));
}
static var START_X = 320;
static var START_Y = -100;
static var IN_TIME = 2000;
static var IN_Y = 200;
static var MOVE_TIME = 3000;
static var MOVE_Y = 20;
static var HEAD_Y = -66;
static var ENEMY_SHOT_START_TIME = 500;
static var ENEMY_SHOT_TOTAL_TIME = 3000;
static var ATTACK_START_TIME = 3000;
static var ATTACK_TOTAL_TIME = 12000;
static var ATTACK_HEAD_MOVE_TIME = 200;
static var ATTACK_HEAD_MOVE_Y = -26;
static var ATTACK_SPAN = 500;
static var ATTACK_COUNT = 3;
static var MODE_INIT = 0;
static var MODE_IN = 100;
static var MODE_NORMAL = 200;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END = 400;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var ENEMY_MAX = 6;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 3000;
static var EXP_COUNT = 40;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXP_WAIT_TIME = 2000;
static var BOSS_SCORE = 7000;
static var BOSS_HP = 250;
static var SPEED_LIST = [320, 260, 200, 320, 260, 200];
static var ANGLE_LIST = [105, 135, 150, 75, 45, 30];
}
Symbol 3098 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_animeCount, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_sideAttackCount, m_mc, m_context, m_wl, m_eg, m_sideLeft, m_sideRight, m_colorTrans, m_color, m_colList, m_forceDestroy;
function Boss03 (context, param) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = START_X;
m_y = START_Y;
m_visible = true;
m_mode = MODE_INIT;
m_action = ACTION_IN;
m_count = 0;
m_animeCount = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_sideAttackCount = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss03BodyMC", "Boss03Body", m_context.getBase());
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_sideLeft = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03Side(m_context, 80);
m_sideRight = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03Side(m_context, 560);
m_colorTrans = {};
m_color = new Color(m_mc);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 100, 28, 0, -68));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 248, 156, 0, 24));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
var _local17;
var _local4;
_local17 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local17 = (_local17 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local17;
if (m_action != ACTION_DESTROY) {
m_animeCount = m_animeCount + _local17;
}
m_damageTime = m_damageTime - _local17;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local4 = false;
switch (m_mode) {
case MODE_INIT :
m_mode = MODE_IN;
_local4 = true;
break;
case MODE_IN :
if (m_count >= IN_TIME) {
m_count = m_count - IN_TIME;
m_x = START_X;
m_y = IN_Y;
m_mode = MODE_IN_SIDE;
m_sideLeft.command("IN");
m_sideRight.command("IN");
_local4 = true;
} else {
m_x = START_X;
m_y = START_Y + (((IN_Y - START_Y) * m_count) / IN_TIME);
}
break;
case MODE_IN_SIDE :
var _local35;
if (m_sideLeft.isReady() && (m_sideRight.isReady())) {
var _local15 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local15.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN, {});
m_mode = MODE_NORMAL;
_local4 = true;
}
angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_x = START_X;
m_y = IN_Y + (Math.sin(angle) * MOVE_Y);
break;
case MODE_NORMAL :
var angle;
var _local7;
angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_x = START_X;
m_y = IN_Y + (Math.sin(angle) * MOVE_Y);
if (m_isAttack) {
m_attackCount = 0;
m_mode = MODE_NORMAL_ATTACK;
}
break;
case MODE_NORMAL_ATTACK :
var angle;
var _local5;
var _local6;
angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_x = START_X;
m_y = IN_Y + (Math.sin(angle) * MOVE_Y);
_local7 = m_attackCount;
m_attackCount = m_attackCount + _local17;
if ((m_attackCount % ATTACK_TOTAL_TIME) > ATTACK_START_TIME) {
_local5 = _local7 % ATTACK_TOTAL_TIME;
_local6 = m_attackCount % ATTACK_TOTAL_TIME;
if ((_local5 < (ATTACK_START_TIME + 500)) && (_local6 >= (ATTACK_START_TIME + 500))) {
var angle;
var _local23;
var _local12;
angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngleAdd(m_x, m_y - 90, -50);
_local23 = 240;
_local12 = 1;
var _local8 = 0;
while (_local8 < ATTACK_COUNT) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow(m_context, m_x, m_y - 90, angle, _local23, _local12, 4000);
angle = angle + jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(50);
_local8++;
}
}
}
if ((m_attackCount % ENEMY_SHOT_TOTAL_TIME) >= ENEMY_SHOT_START_TIME) {
_local5 = _local7 % ENEMY_SHOT_TOTAL_TIME;
_local6 = m_attackCount % ENEMY_SHOT_TOTAL_TIME;
if ((_local5 < ENEMY_SHOT_START_TIME) && (_local6 >= ENEMY_SHOT_START_TIME)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.getLength(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY) < ENEMY_MAX) {
var _local9;
var _local16;
var _local11;
var angle;
var _local10;
_local9 = {action:{STOP:{freq:0, time:5}, STROLL:{freq:20, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:false, end:[]};
_local10 = Math.floor(Math.random() * SPEED_LIST.length);
var _local23 = SPEED_LIST[_local10];
angle = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(ANGLE_LIST[_local10]);
_local16 = {x:m_x, y:m_y + 90, speed:_local23, angle:angle};
if (Math.random() > 0.5) {
_local11 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01(m_context, _local9);
} else {
_local9.action.ATTACK_PLAYER = 5;
_local11 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom02(m_context, _local9);
}
_local11.setMode("SHOT", _local16);
}
}
}
if ((m_attackCount % SIDE_TOTAL_TIME) >= SIDE_START_TIME) {
_local5 = _local7 % SIDE_TOTAL_TIME;
_local6 = m_attackCount % SIDE_TOTAL_TIME;
if ((_local5 < SIDE_START_TIME) && (_local6 >= SIDE_START_TIME)) {
var _local8 = 0;
do {
if (m_sideAttackCount == 0) {
if (m_sideLeft.isAlive()) {
m_sideLeft.command("ATTACK");
break;
}
} else if (m_sideAttackCount == 1) {
if (m_sideRight.isAlive()) {
m_sideRight.command("ATTACK");
break;
}
} else if (m_sideAttackCount == 2) {
if (m_sideRight.isAlive() && (m_sideLeft.isAlive())) {
m_sideLeft.command("ATTACK");
m_sideRight.command("ATTACK");
break;
}
}
m_sideAttackCount++;
m_sideAttackCount = m_sideAttackCount % 3;
_local8++;
} while (_local8 < 3);
m_sideAttackCount++;
m_sideAttackCount = m_sideAttackCount % 3;
}
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount++;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local4 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local3;
var _local2;
var _local14;
var _local13;
_local3 = (m_x + (Math.random() * 250)) - 125;
_local2 = (m_y + (Math.random() * 100)) - 50;
_local14 = (Math.random() * 100) + 100;
_local13 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, _local14, _local13);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 100);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local4 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local3 = (m_x + (Math.random() * 80)) - 40;
var _local2 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 500, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 1000, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == 1) {
var _local3 = (m_x + (Math.random() * 80)) - 40;
var _local2 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 500, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local3, _local2, 1000, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local3, _local2, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 750, 1000);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 500, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 150);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXP_WAIT_TIME) {
m_mode = MODE_END;
var _local15 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local15.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY, {});
m_sideLeft.command("END");
m_sideRight.command("END");
}
break;
case MODE_END :
}
} while (_local4);
if (m_isAttack) {
var _local8 = m_colList.length - 1;
while (_local8 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local8]).appendEnemy(m_x, m_y);
_local8--;
}
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
if ((m_action == ACTION_NORMAL) && (m_isAttack)) {
if (m_hp <= 0) {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.forceDestroy();
}
_local2.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_STAGE_END});
m_hp = 0;
m_mode = MODE_DESTROY;
}
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = m_visible;
m_mc.gotoAndStop((Math.floor(m_animeCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc._totalframes) + 1);
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_color.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START) {
m_isAttack = true;
m_action = ACTION_NORMAL;
}
}
function getPower() {
return(m_hp);
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03(context, param));
}
static var START_X = 320;
static var START_Y = -100;
static var IN_TIME = 2000;
static var IN_Y = 200;
static var MOVE_TIME = 3000;
static var MOVE_Y = 20;
static var ENEMY_SHOT_START_TIME = 1000;
static var ENEMY_SHOT_TOTAL_TIME = 2000;
static var ATTACK_START_TIME = 2000;
static var ATTACK_TOTAL_TIME = 4000;
static var ATTACK_COUNT = 3;
static var SIDE_START_TIME = 2500;
static var SIDE_TOTAL_TIME = 7000;
static var ATTACKSIDE_UP_Y = -50;
static var ATTACKSIDE_DOWN_Y = 200;
static var MODE_INIT = 0;
static var MODE_IN = 100;
static var MODE_IN_SIDE = 110;
static var MODE_NORMAL = 200;
static var MODE_NORMAL_ATTACK = 210;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END = 400;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var ENEMY_MAX = 8;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 3000;
static var EXP_COUNT = 40;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXP_WAIT_TIME = 2000;
static var BOSS_SCORE = 9000;
static var BOSS_HP = 250;
static var SPEED_LIST = [320, 260, 200, 320, 260, 200];
static var ANGLE_LIST = [105, 135, 150, 75, 45, 30];
}
Symbol 3099 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03Side] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss03Side extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_animeCount, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_isReady, m_attackStartCount, m_baseY, m_mc, m_context, m_wl, m_eg, m_colorTrans, m_color, m_colList, m_forceDestroy;
function Boss03Side (context, x) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = x;
m_y = START_Y;
m_visible = false;
m_mode = MODE_NONE;
m_action = ACTION_IN;
m_count = 0;
m_animeCount = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_isReady = false;
m_attackStartCount = 0;
m_baseY = 0;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss03SideMC", "Boss03Side", m_context.getBase());
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_colorTrans = {};
m_color = new Color(m_mc);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 50, 24, 0, -63));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 110, 106, 0, 2));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 56, 38, 0, 74));
}
function move() {
var _local3;
var _local2;
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local3 = (_local3 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local3;
m_damageTime = m_damageTime - _local3;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local2 = false;
switch (m_mode) {
case MODE_NONE :
break;
case MODE_IN_DOWN :
m_animeCount = m_animeCount + _local3;
if (m_count >= IN_DOWN_TIME) {
m_count = m_count - IN_DOWN_TIME;
m_y = IN_DOWN_Y;
m_mode = MODE_IN_UP;
_local2 = true;
} else {
m_y = START_Y + (((IN_DOWN_Y - START_Y) * m_count) / IN_DOWN_TIME);
}
break;
case MODE_IN_UP :
m_animeCount = m_animeCount + (_local3 / 2);
if (m_count >= IN_UP_TIME) {
m_count = m_count - IN_UP_TIME;
m_y = IN_UP_Y;
m_mode = MODE_NORMAL;
m_isReady = true;
m_action = ACTION_NORMAL;
_local2 = true;
} else {
m_y = IN_DOWN_Y + (((IN_UP_Y - IN_DOWN_Y) * m_count) / IN_UP_TIME);
}
break;
case MODE_NORMAL :
var _local9;
var _local10;
_local9 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(360 * ((m_count % MOVE_TIME) / MOVE_TIME));
m_y = IN_UP_Y + (Math.sin(_local9) * MOVE_Y);
if (m_isAttack) {
m_attackCount = 0;
m_mode = MODE_ATTACK_DOWN_READY;
m_baseY = m_y;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Drill", 100);
_local2 = true;
}
break;
case MODE_ATTACK_DOWN_READY :
m_animeCount = m_animeCount + _local3;
m_attackCount = m_attackCount + _local3;
if (m_attackCount >= ATTACK_DOWN_READY_TIME) {
m_attackCount = m_attackCount - ATTACK_DOWN_READY_TIME;
m_mode = MODE_ATTACK_DOWN;
m_baseY = m_baseY + ATTACK_READY_Y;
_local2 = true;
} else {
m_y = m_baseY + ((ATTACK_READY_Y * m_attackCount) / ATTACK_DOWN_READY_TIME);
}
break;
case MODE_ATTACK_DOWN :
m_animeCount = m_animeCount + _local3;
m_attackCount = m_attackCount + _local3;
if (m_attackCount >= ATTACK_DOWN_TIME) {
m_attackCount = m_attackCount - ATTACK_DOWN_TIME;
m_y = ATTACK_DOWN_Y;
m_mode = MODE_ATTACK_UP_READY;
_local2 = true;
} else {
m_y = m_baseY + (((ATTACK_DOWN_Y - m_baseY) * m_attackCount) / ATTACK_DOWN_TIME);
}
break;
case MODE_ATTACK_UP_READY :
m_animeCount = m_animeCount + (_local3 / 2);
m_attackCount = m_attackCount + _local3;
if (m_attackCount >= ATTACK_UP_READY_TIME) {
m_attackCount = m_attackCount - ATTACK_UP_READY_TIME;
m_mode = MODE_ATTACK_UP;
_local2 = true;
}
break;
case MODE_ATTACK_UP :
var _local11;
m_animeCount = m_animeCount + (_local3 / 2);
m_attackCount = m_attackCount + _local3;
if (m_attackCount >= ATTACK_UP_TIME) {
m_attackCount = m_attackCount - ATTACK_UP_TIME;
m_y = ATTACK_UP_Y;
m_mode = MODE_ATTACK_END;
_local2 = true;
} else {
m_y = ATTACK_DOWN_Y + (((ATTACK_UP_Y - ATTACK_DOWN_Y) * m_attackCount) / ATTACK_UP_TIME);
}
break;
case MODE_ATTACK_END :
m_attackCount = m_attackCount + _local3;
if (m_attackCount >= ATTACK_END_TIME) {
m_attackCount = m_attackCount - ATTACK_END_TIME;
m_count = m_attackCount;
m_mode = MODE_NORMAL;
m_isAttack = false;
_local2 = true;
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount = 0;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local2 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local5;
var _local4;
var _local8;
var _local7;
_local5 = (m_x + (Math.random() * 110)) - 55;
_local4 = (m_y + (Math.random() * 150)) - 75;
_local8 = (Math.random() * 50) + 50;
_local7 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local5, _local4, _local8, _local7);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 50);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local2 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local5 = (m_x + (Math.random() * 80)) - 40;
var _local4 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local5, _local4, 300, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local5, _local4, 600, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local5, _local4, 150, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 75);
} else if (m_expCount == 1) {
var _local5 = (m_x + (Math.random() * 80)) - 40;
var _local4 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local5, _local4, 300, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local5, _local4, 600, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local5, _local4, 150, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 75);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 400, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 75);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXPLOSION_WAIT_TIME) {
m_mode = MODE_END_WAIT;
}
break;
case MODE_END_WAIT :
break;
case MODE_END :
return(false);
}
} while (_local2);
if (m_isAttack) {
var _local6 = m_colList.length - 1;
while (_local6 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local6]).appendEnemy(m_x, m_y);
_local6--;
}
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
if (m_action == ACTION_NORMAL) {
if (m_hp <= 0) {
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
}
m_hp = 0;
m_mode = MODE_DESTROY;
}
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = m_visible;
m_mc.drill.gotoAndStop((Math.floor(m_animeCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc.drill._totalframes) + 1);
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_color.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
function command(cmd) {
switch (cmd) {
case "IN" :
m_mode = MODE_IN_DOWN;
m_count = 0;
m_visible = true;
break;
case "ATTACK" :
m_isAttack = true;
m_action = ACTION_NORMAL;
break;
case "DESTROY" :
m_mode = MODE_DESTROY;
break;
case "END" :
m_mode = MODE_END;
}
}
function isReady() {
return(m_isReady);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function getPower() {
return(m_hp);
}
function isAlive() {
return(m_hp > 0);
}
static var START_Y = -100;
static var IN_DOWN_TIME = 500;
static var IN_DOWN_Y = 300;
static var IN_UP_TIME = 1500;
static var IN_UP_Y = -30;
static var MOVE_TIME = 3000;
static var MOVE_Y = 20;
static var ATTACK_READY_Y = 50;
static var ATTACK_DOWN_Y = 380;
static var ATTACK_UP_Y = -30;
static var MODE_NONE = 0;
static var MODE_IN_DOWN = 100;
static var MODE_IN_UP = 110;
static var MODE_NORMAL = 200;
static var MODE_ATTACK_DOWN_READY = 210;
static var MODE_ATTACK_DOWN = 211;
static var MODE_ATTACK_UP_READY = 212;
static var MODE_ATTACK_UP = 213;
static var MODE_ATTACK_END = 214;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END_WAIT = 400;
static var MODE_END = 410;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var ATTACK_DOWN_READY_TIME = 2000;
static var ATTACK_DOWN_TIME = 500;
static var ATTACK_UP_READY_TIME = 1000;
static var ATTACK_UP_TIME = 2000;
static var ATTACK_SHOT_SPAN = 900;
static var ATTACK_END_TIME = 1000;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 1500;
static var EXP_COUNT = 20;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXPLOSION_WAIT_TIME = 2000;
static var BOSS_SCORE = 3000;
static var BOSS_HP = 50;
}
Symbol 3100 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04 extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_atkSideCount, m_mcBack, m_context, m_mc, m_mcFront, m_wl, m_eg, m_sideLeft, m_sideRight, m_colorTrans, m_color, m_colList, m_upAtkCnt, m_forceDestroy;
function Boss04 (context, param) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = START_X;
m_y = START_Y;
m_visible = true;
m_mode = MODE_NONE;
m_action = ACTION_IN;
m_count = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_atkSideCount = 0;
m_mcBack = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BGBACK, "Boss04BodyBackMC", "Boss04BodyBack", m_context.getBase());
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss04BodyCenterMC", "Boss04BodyCenter", m_context.getBase());
m_mcFront = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BGFRONT, "Boss04BodyFrontMC", "Boss04BodyFront", m_context.getBase());
m_mcBack._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcBack._y = 0;
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = START_Y;
m_mcFront._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcFront._y = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_sideLeft = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04Side(m_context, 80);
m_sideRight = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04Side(m_context, 560);
m_colorTrans = {};
m_color = new Color(m_mc);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 230, 168, 0, 0));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
var _local16;
var _local2;
_local16 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local16 = (_local16 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local16;
m_damageTime = m_damageTime - _local16;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local2 = false;
switch (m_mode) {
case MODE_NONE :
break;
case MODE_IN :
if (m_count >= IN_TIME) {
m_count = m_count - IN_TIME;
m_x = START_X;
m_y = IN_Y;
m_mode = MODE_IN_SIDE;
m_sideLeft.command("IN");
m_sideRight.command("IN");
_local2 = true;
} else {
m_x = START_X;
m_y = START_Y + (((IN_Y - START_Y) * m_count) / IN_TIME);
}
break;
case MODE_IN_SIDE :
var _local36;
if (m_sideLeft.isReady() && (m_sideRight.isReady())) {
var _local18 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local18.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN, {});
m_mode = MODE_NORMAL;
m_attackCount = 0;
_local2 = true;
}
break;
case MODE_NORMAL :
var _local5;
var _local13;
if (m_isAttack) {
var _local8;
var _local9;
_local13 = m_attackCount;
m_attackCount = m_attackCount + _local16;
if ((m_attackCount % ATTACK_TOTAL_TIME) > ATTACK_START_TIME) {
_local8 = _local13 % ATTACK_TOTAL_TIME;
_local9 = m_attackCount % ATTACK_TOTAL_TIME;
if ((_local8 < (ATTACK_START_TIME + 500)) && (_local9 >= (ATTACK_START_TIME + 500))) {
var _local12;
var _local14;
_local5 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngleAdd(m_x, 32, -60);
_local12 = 240;
_local14 = 1;
var _local6 = 0;
while (_local6 < ATTACK_COUNT) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow(m_context, m_x, 32, _local5, _local12, _local14, 4000);
_local5 = _local5 + jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(30);
_local6++;
}
}
}
if ((m_attackCount % ENEMY_SHOT_TOTAL_TIME) >= ENEMY_SHOT_START_TIME) {
_local8 = _local13 % ENEMY_SHOT_TOTAL_TIME;
_local9 = m_attackCount % ENEMY_SHOT_TOTAL_TIME;
if ((_local8 < ENEMY_SHOT_START_TIME) && (_local9 >= ENEMY_SHOT_START_TIME)) {
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.getLength(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY) < ENEMY_MAX) {
var _local10;
var _local19;
var _local7;
var _local11;
_local10 = {action:{STOP:{freq:0, time:5}, STROLL:{freq:20, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:false, end:[]};
_local11 = Math.floor(Math.random() * SPEED_LIST.length);
var _local12 = SPEED_LIST[_local11];
_local5 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(ANGLE_LIST[_local11]);
_local19 = {x:m_x, y:m_y + 20, speed:_local12, angle:_local5};
if (Math.random() < 0.6) {
_local7 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Phantom01(m_context, _local10);
} else if (Math.random() < 0.6) {
_local7 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Robo01(m_context, _local10);
} else {
_local7 = new jp.bambooshootdesign.app.heavymetalgirl.enemy.Spider01(m_context, _local10);
}
_local7.setMode("SHOT", _local19);
}
}
}
if (m_attackCount >= (ATTACK_TOTAL_TIME * 4)) {
m_attackCount = m_attackCount - (ATTACK_TOTAL_TIME * 4);
m_count = m_attackCount;
m_mode = MODE_ATKSIDE_UP;
m_upAtkCnt = 0;
}
}
break;
case MODE_ATKSIDE_UP :
m_attackCount = m_attackCount + _local16;
if (m_attackCount >= ATKSIDE_UP_ATK_SPAN) {
m_attackCount = m_attackCount - ATKSIDE_UP_ATK_SPAN;
if (m_upAtkCnt <= ATKSIDE_UP_ATK_CNT) {
_local5 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getPlayerAngleAdd(m_x, 32, ((Math.random() * 90) - 45) - 70);
var _local12 = 240;
var _local14 = 1;
var _local6 = 0;
while (_local6 < ATTACK_COUNT) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow(m_context, m_x, 32, _local5, _local12, _local14, 4000);
_local5 = _local5 + jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(35);
_local6++;
}
m_upAtkCnt++;
}
}
if (m_count >= ATKSIDE_UP_TIME) {
m_count = m_count - ATKSIDE_UP_TIME;
m_mode = MODE_ATKSIDE_COMMAND;
_local2 = true;
} else {
m_y = IN_Y + (((ATKSIDE_UP_Y - IN_Y) * m_count) / ATKSIDE_UP_TIME);
}
break;
case MODE_ATKSIDE_COMMAND :
m_mode = MODE_ATKSIDE_WAIT;
if ((m_atkSideCount % 2) == 0) {
if (m_sideLeft.isAlive()) {
m_sideLeft.command("EXTRA");
} else if (m_sideRight.isAlive()) {
m_sideRight.command("EXTRA");
}
} else if (m_sideRight.isAlive()) {
m_sideRight.command("EXTRA");
} else if (m_sideLeft.isAlive()) {
m_sideLeft.command("EXTRA");
}
m_atkSideCount++;
_local2 = true;
break;
case MODE_ATKSIDE_WAIT :
if (m_count >= ATKSIDE_WAIT_TIME) {
m_count = m_count - ATKSIDE_WAIT_TIME;
m_mode = MODE_ATKSIDE_DOWN;
_local2 = true;
}
m_y = ATKSIDE_UP_Y;
break;
case MODE_ATKSIDE_DOWN :
if (m_count >= ATKSIDE_DOWN_TIME) {
m_count = m_count - ATKSIDE_DOWN_TIME;
m_mode = MODE_NORMAL;
_local2 = true;
} else {
m_y = ATKSIDE_UP_Y + (((ATKSIDE_DOWN_Y - ATKSIDE_UP_Y) * m_count) / ATKSIDE_DOWN_TIME);
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount++;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local2 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local4;
var _local3;
var _local17;
var _local15;
_local4 = (m_x + (Math.random() * 250)) - 125;
_local3 = (m_y + (Math.random() * 100)) - 50;
_local17 = (Math.random() * 100) + 100;
_local15 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, _local17, _local15);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 100);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local2 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 500, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 1000, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == 1) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 500, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 1000, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 200, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 150);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 750, 1000);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 500, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 150);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXPLOSION_WAIT_TIME) {
m_mode = MODE_END;
var _local18 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
_local18.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_DESTROY, {});
m_sideLeft.command("END");
m_sideRight.command("END");
}
break;
case MODE_END :
}
} while (_local2);
if (m_isAttack) {
var _local6 = m_colList.length - 1;
while (_local6 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local6]).appendEnemy(m_x, m_y);
_local6--;
}
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
if ((m_action == ACTION_NORMAL) && (m_isAttack)) {
if (m_hp <= 0) {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__SceneGraph();
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.forceDestroy();
}
_local2.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGECONTROLL, {id:jp.bambooshootdesign.app.heavymetalgirl.enemy.StageController.EID_SC_STAGE_END});
m_hp = 0;
m_mode = MODE_DESTROY;
}
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = (m_mcFront._visible = (m_mcBack._visible = m_visible));
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_color.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mcBack.removeMovieClip();
m_mc.removeMovieClip();
m_mcFront.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START) {
m_isAttack = true;
m_action = ACTION_NORMAL;
m_sideLeft.command("ATTACK");
m_sideRight.command("ATTACK");
}
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN) {
m_mode = MODE_IN;
m_count = 0;
}
}
function getPower() {
return(m_hp);
}
static function create(context, param) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04(context, param));
}
static var START_X = 320;
static var START_Y = -100;
static var IN_TIME = 2000;
static var IN_Y = 200;
static var MOVE_TIME = 3000;
static var MOVE_Y = 20;
static var ENEMY_SHOT_START_TIME = 500;
static var ENEMY_SHOT_TOTAL_TIME = 1500;
static var ATTACK_START_TIME = 1500;
static var ATTACK_TOTAL_TIME = 4000;
static var ATTACK_COUNT = 5;
static var MODE_NONE = 0;
static var MODE_IN = 100;
static var MODE_IN_SIDE = 110;
static var MODE_NORMAL = 200;
static var MODE_ATKSIDE_UP = 220;
static var MODE_ATKSIDE_COMMAND = 230;
static var MODE_ATKSIDE_WAIT = 240;
static var MODE_ATKSIDE_DOWN = 250;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END = 400;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var ATKSIDE_UP_TIME = 2000;
static var ATKSIDE_UP_ATK_SPAN = 300;
static var ATKSIDE_UP_ATK_CNT = 4;
static var ATKSIDE_WAIT_TIME = 10000;
static var ATKSIDE_DOWN_TIME = 1000;
static var ATKSIDE_UP_Y = -100;
static var ATKSIDE_DOWN_Y = 200;
static var ENEMY_MAX = 8;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 3000;
static var EXP_COUNT = 40;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXPLOSION_WAIT_TIME = 2000;
static var BOSS_SCORE = 12000;
static var BOSS_HP = 250;
static var SPEED_LIST = [320, 260, 200, 320, 260, 200];
static var ANGLE_LIST = [105, 135, 150, 75, 45, 30];
}
Symbol 3101 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04Side] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Boss04Side extends jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement
{
var m_type, m_hp, m_x, m_y, m_visible, m_mode, m_action, m_count, m_animeCount, m_attackCount, m_isAttack, m_isHit, m_expCount, m_damageTime, m_isReady, m_mc, m_context, m_wl, m_eg, m_colorTrans, m_color, m_colList, m_moveTime, m_shotCount, m_forceDestroy;
function Boss04Side (context, x) {
super(context);
m_type = jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_ENEMY_BODY;
m_hp = BOSS_HP;
m_x = x;
m_y = START_Y;
m_visible = false;
m_mode = MODE_NONE;
m_action = ACTION_IN;
m_count = 0;
m_animeCount = 0;
m_attackCount = 0;
m_isAttack = false;
m_isHit = false;
m_expCount = 0;
m_damageTime = 0;
m_isReady = false;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_ENEMY, "Boss04SideMC", "Boss04Side", m_context.getBase());
m_mc._xscale = ((m_x < (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2)) ? -100 : 100);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
m_eg = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.append(this, jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_ENEMY);
m_colorTrans = {};
m_color = new Color(m_mc);
m_colList = [];
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 22, 440, ((m_x < (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2)) ? -23 : 23), -253));
m_colList.push(new jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(this, 124, 66, 0, 0));
}
function move() {
var _local6;
var _local2;
_local6 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_action == ACTION_NORMAL) {
_local6 = (_local6 * jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getEnemySpeed()) / 1000;
}
m_count = m_count + _local6;
m_damageTime = m_damageTime - _local6;
if (m_damageTime < 0) {
m_damageTime = 0;
}
do {
_local2 = false;
switch (m_mode) {
case MODE_NONE :
break;
case MODE_IN_DOWN :
if (m_count >= IN_DOWN_TIME) {
m_count = m_count - IN_DOWN_TIME;
m_y = IN_DOWN_Y;
m_mode = MODE_NORMAL;
m_isReady = true;
_local2 = true;
} else {
m_y = START_Y + (((IN_DOWN_Y - START_Y) * m_count) / IN_DOWN_TIME);
}
break;
case MODE_NORMAL :
if (m_isAttack) {
m_mode = MODE_ATK_DOWN;
m_count = 0;
_local2 = true;
} else {
m_y = m_y - ((MOVE_SPEED * _local6) / 1000);
if (m_y < NORMAL_Y) {
m_y = NORMAL_Y;
}
}
break;
case MODE_ATK_DOWN :
m_moveTime = ((ATK_POS_Y - m_y) / MOVE_SPEED) * 1000;
m_mode = MODE_ATK_DOWN_ACT;
_local2 = true;
break;
case MODE_ATK_DOWN_ACT :
if (m_count >= m_moveTime) {
m_count = m_count - m_moveTime;
m_y = ATK_POS_Y;
m_shotCount = 0;
m_mode = MODE_ATK_SHOT;
_local2 = true;
} else {
m_y = m_y + ((MOVE_SPEED * _local6) / 1000);
}
break;
case MODE_ATK_SHOT :
var _local8;
var _local7;
var _local10;
var _local12;
if (m_x < (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2)) {
_local7 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(0);
_local8 = 1;
} else {
_local7 = jp.bambooshootdesign.app.heavymetalgirl.util.AppUtil.getAngle(180);
_local8 = -1;
}
_local10 = 240;
_local12 = 1;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.EnemyShotArrow(m_context, m_x + (62 * _local8), m_y, _local7, _local10, _local12, 4000);
m_shotCount++;
if (m_shotCount >= ATK_CNT) {
m_mode = MODE_NORMAL;
m_isAttack = false;
_local2 = true;
} else {
m_moveTime = (ATK_MOVE_Y / MOVE_SPEED) * 1000;
m_mode = MODE_ATK_UP;
_local2 = true;
}
break;
case MODE_ATK_UP :
if (m_count >= m_moveTime) {
m_count = m_count - m_moveTime;
m_y = ATK_POS_Y - (ATK_MOVE_Y * m_shotCount);
m_mode = MODE_ATK_SHOT;
_local2 = true;
} else {
m_y = m_y - ((MOVE_SPEED * _local6) / 1000);
}
break;
case MODE_DESTROY :
m_mode = MODE_EXPLOSION;
m_count = 0;
m_expCount++;
m_isAttack = false;
m_action = ACTION_DESTROY;
_local2 = true;
break;
case MODE_EXPLOSION :
if (m_count >= (EXP_TIME / EXP_COUNT)) {
var _local4;
var _local3;
var _local11;
var _local9;
_local4 = (m_x + (Math.random() * 124)) - 62;
_local3 = (m_y + (Math.random() * 66)) - 33;
_local11 = (Math.random() * 50) + 50;
_local9 = 1000;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, _local11, _local9);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 50);
m_count = m_count - (EXP_TIME / EXP_COUNT);
m_expCount++;
if (m_expCount >= EXP_COUNT) {
m_expCount = 0;
m_mode = MODE_EXPLOSIONRING;
}
_local2 = true;
}
break;
case MODE_EXPLOSIONRING :
if (m_count >= (EXP_RING_TIME / EXP_RING_COUNT)) {
if (m_expCount == 0) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 300, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 600, 150, 12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 150, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 75);
} else if (m_expCount == 1) {
var _local4 = (m_x + (Math.random() * 80)) - 40;
var _local3 = (m_y + (Math.random() * 36)) - 18;
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 300, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ExplosionRing(m_context, _local4, _local3, 600, 150, -12.5, 500);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, _local4, _local3, 150, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("Explosion", 75);
} else if (m_expCount == (EXP_RING_COUNT - 1)) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.Explosion(m_context, m_x, m_y, 400, 1000);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BigExplosion", 75);
m_visible = false;
}
m_count = m_count - (EXP_RING_TIME / EXP_RING_COUNT);
m_expCount++;
if (m_expCount >= EXP_RING_COUNT) {
m_mode = MODE_EXPLOSION_WAIT;
m_count = 0;
}
}
break;
case MODE_EXPLOSION_WAIT :
if (m_count >= EXPLOSION_WAIT_TIME) {
m_mode = MODE_END_WAIT;
}
break;
case MODE_END_WAIT :
break;
case MODE_END :
return(false);
}
} while (_local2);
if (m_isAttack) {
var _local5 = m_colList.length - 1;
while (_local5 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local5]).appendEnemy(m_x, m_y);
_local5--;
}
}
m_isHit = false;
return(true);
}
function hit(type, power) {
switch (type) {
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_SHOT :
m_hp = m_hp - power;
m_isHit = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(10);
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_EXTRA_SHOT :
if (m_damageTime == 0) {
m_hp = m_hp - EXTRA_DAMAGE;
m_damageTime = DAMAGE_TIME;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(100);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("BossChainHit", 100);
}
break;
case jp.bambooshootdesign.app.heavymetalgirl.enemy.GameElement.GET_PLAYER_BODY :
}
}
function ctrl() {
if (m_action == ACTION_NORMAL) {
if (m_hp <= 0) {
if (!m_forceDestroy) {
new jp.bambooshootdesign.app.heavymetalgirl.enemy.ScoreNumber(m_context, m_x, m_y, BOSS_SCORE);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.addScore(BOSS_SCORE);
}
m_hp = 0;
m_mode = MODE_DESTROY;
}
}
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = m_visible;
m_mc.drill.gotoAndStop((Math.floor(m_animeCount / jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate()) % m_mc.drill._totalframes) + 1);
if (m_isHit) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = 100;
m_colorTrans.gb = 0;
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else if (m_damageTime > 0) {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_damageTime * 100) / DAMAGE_TIME);
m_colorTrans.bb = 0;
m_colorTrans.ab = 0;
} else {
m_colorTrans.ra = (m_colorTrans.ga = (m_colorTrans.ba = (m_colorTrans.aa = 100)));
m_colorTrans.rb = (m_colorTrans.gb = (m_colorTrans.bb = (m_colorTrans.ab = 0)));
}
m_color.setTransform(m_colorTrans);
}
function destroy() {
var _local2 = m_colList.length - 1;
while (_local2 >= 0) {
jp.bambooshootdesign.app.heavymetalgirl.enemy.CollisionProxy(m_colList[_local2]).destroy();
delete m_colList[_local2];
_local2--;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.cut(m_eg);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_eg;
delete m_wl;
delete m_color;
m_mc.removeMovieClip();
}
function command(cmd) {
switch (cmd) {
case "IN" :
m_mode = MODE_IN_DOWN;
m_count = 0;
m_visible = true;
break;
case "ATTACK" :
m_action = ACTION_NORMAL;
break;
case "EXTRA" :
m_isAttack = true;
break;
case "DESTROY" :
m_mode = MODE_DESTROY;
break;
case "END" :
m_mode = MODE_END;
}
}
function isReady() {
return(m_isReady);
}
function getX() {
return(m_x);
}
function getY() {
return(m_y);
}
function getArea() {
return({});
}
function isActive() {
return(m_isAttack);
}
function getPower() {
return(m_hp);
}
function isAlive() {
return(m_hp > 0);
}
static var START_Y = -50;
static var IN_DOWN_TIME = 1000;
static var IN_DOWN_Y = 150;
static var MODE_NONE = 0;
static var MODE_IN_DOWN = 100;
static var MODE_IN_UP = 110;
static var MODE_NORMAL = 200;
static var MODE_ATK_DOWN = 210;
static var MODE_ATK_DOWN_ACT = 220;
static var MODE_ATK_SHOT = 230;
static var MODE_ATK_UP = 240;
static var MODE_DESTROY = 300;
static var MODE_EXPLOSION = 310;
static var MODE_EXPLOSIONRING = 320;
static var MODE_EXPLOSION_WAIT = 330;
static var MODE_END_WAIT = 400;
static var MODE_END = 410;
static var ACTION_IN = 0;
static var ACTION_NORMAL = 100;
static var ACTION_DESTROY = 200;
static var NORMAL_Y = 50;
static var ATK_POS_Y = 428;
static var ATK_MOVE_Y = 80;
static var ATK_CNT = 5;
static var MOVE_SPEED = 120;
static var EXTRA_ATTACK_SPAN = 500;
static var EXTRA_ATTACK_COUNT = 5;
static var DAMAGE_TIME = 1000;
static var EXTRA_DAMAGE = 20;
static var EXP_TIME = 1500;
static var EXP_COUNT = 20;
static var EXP_RING_TIME = 750;
static var EXP_RING_COUNT = 5;
static var EXPLOSION_WAIT_TIME = 2000;
static var BOSS_SCORE = 4000;
static var BOSS_HP = 50;
}
Symbol 3102 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.GameStart] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.GameStart extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_param, m_mc, m_context, m_x, m_y, m_count, m_wl;
function GameStart (context, param) {
super(context);
m_param = param;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "GameStartMC", "GameStart", m_context.getBase());
m_x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_y = (-m_mc._height) / 2;
m_count = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (MOVE_TIME > m_count) {
m_y = (Math.sin(((Math.PI/2) * m_count) / MOVE_TIME) * jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT) / 2;
} else if ((m_param.time - MOVE_TIME) > m_count) {
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
} else {
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + (((1 - Math.sin(((Math.PI/2) * (m_param.time - m_count)) / MOVE_TIME)) * jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT) / 2);
}
return(m_count <= m_param.time);
}
function ctrl() {
return(true);
}
function disp() {
m_mc._x = m_x;
m_mc._y = m_y;
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
static function create(context, param, count) {
return(new jp.bambooshootdesign.app.heavymetalgirl.enemy.GameStart(context, param));
}
static var MOVE_TIME = 200;
}
Symbol 3103 MovieClip [__Packages.jp.bambooshootdesign.sys.Group] Frame 0
class jp.bambooshootdesign.sys.Group
{
var m_list, m_num;
function Group () {
init();
}
function init(num) {
m_list = [];
m_num = num;
}
function reset() {
var _local2;
_local2 = 0;
while (_local2 < m_num) {
m_list[_local2] = new jp.bambooshootdesign.util.List();
_local2++;
}
}
function append(obj, idx) {
return(m_list[idx].push(obj));
}
function get(idx) {
return(m_list[idx]);
}
function cut(obj) {
obj.cut();
}
function getLength(idx) {
return(m_list[idx].getLength());
}
}
Symbol 3104 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Status] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Status
{
var m_context, m_mc, m_stageNumMc, m_floorNumMc, m_scoreNumMc, m_timeMinMc, m_timeSecMc, m_loopNumMc;
function Status () {
}
function init(context) {
m_context = context;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "StatusMC", "SysInfo", m_context.getBase());
m_mc.HpBar.stop();
m_mc._visible = true;
m_stageNumMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 264, 0, 0, 1, "Normal", m_mc);
m_floorNumMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 296, 0, 0, 1, "Normal", m_mc);
m_scoreNumMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 360, 0, 0, 10, "Normal", m_mc);
m_timeMinMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 568, 0, 0, 1, "Normal", m_mc);
m_timeSecMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 600, 0, 0, 2, "Normal", m_mc);
m_mc.ClockMini._visible = false;
m_mc.SkateMini._visible = false;
m_mc.SpeakerMini._visible = false;
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getLoop() == 1) {
m_mc.Loop._visible = false;
m_loopNumMc = undefined;
} else {
m_loopNumMc = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 208, 0, 0, 1, "Normal", m_mc);
m_loopNumMc.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getLoop());
}
}
function move() {
}
function ctrl() {
}
function disp() {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.__get__Player();
var _local3;
var _local4;
m_stageNumMc.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getStageNum() + 1);
m_floorNumMc.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getFloorNum() + 1);
m_scoreNumMc.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getScore());
_local3 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRestTime();
m_timeMinMc.setValue(Math.floor(_local3 / 60000));
m_timeSecMc.setValue(Math.floor(_local3 / 1000) % 60);
m_mc.HpBar.gotoAndStop(4 - jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getHp());
if (m_loopNumMc != undefined) {
m_loopNumMc.disp();
}
m_stageNumMc.disp();
m_floorNumMc.disp();
m_scoreNumMc.disp();
m_timeMinMc.disp();
m_timeSecMc.disp();
updateItemStatus(m_mc.ClockMini, _local2.getClockTime());
updateItemStatus(m_mc.SkateMini, _local2.getSkateTime());
updateItemStatus(m_mc.SpeakerMini, _local2.getSpeakerTime());
}
function destroy() {
if (m_loopNumMc != undefined) {
m_loopNumMc.destroy();
}
m_stageNumMc.destroy();
m_floorNumMc.destroy();
m_scoreNumMc.destroy();
m_timeMinMc.destroy();
m_timeSecMc.destroy();
m_mc.removeMovieClip();
}
function setVisible(visible) {
m_mc._visible = visible;
}
function updateItemStatus(mc, time) {
var _local2;
if (time > 0) {
if (time >= BLINK_TIME) {
_local2 = 100;
} else {
_local2 = time % (BLINK_SPAN * 2);
_local2 = ((_local2 > BLINK_SPAN) ? ((BLINK_SPAN * 2) - _local2) : (_local2));
_local2 = (_local2 * 100) / BLINK_SPAN;
}
mc._alpha = _local2;
mc._visible = true;
} else {
mc._visible = false;
}
}
var BLINK_TIME = 2500;
var BLINK_SPAN = 500;
}
Symbol 3105 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.SoundManager] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.SoundManager
{
var m_mc, m_fadeCount, m_fadeTime, m_seIndex, m_seList, m_music, m_musicData, m_musicIndex, m_cnt;
function SoundManager () {
m_mc = _root.createEmptyMovieClip("Sounds", 10000);
m_fadeCount = 0;
m_fadeTime = 0;
m_seIndex = 0;
m_seList = [];
var _local3 = 0;
while (_local3 < 7) {
m_seList.push(undefined);
_local3++;
}
m_music = undefined;
m_musicData = undefined;
m_musicIndex = 0;
m_cnt = 0;
}
function playSE(sename, vol) {
var _local2;
var _local6;
var _local4;
var _local5;
var _local3;
if (!jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Se) {
return(undefined);
}
if (vol == undefined) {
vol = 100;
}
_local2 = m_seList[m_seIndex];
freeSound(_local2);
_local3 = m_cnt;
_local6 = "snd" + _local3;
_local2 = m_mc.createEmptyMovieClip(_local6, _local3);
_local2.seid = _local3;
_local5 = jp.bambooshootdesign.app.heavymetalgirl.sys.SoundResource.getSEInfo(sename);
_local4 = new Sound(_local2);
_local4.attachSound(_local5.id);
_local4.setVolume((vol * _local5.vol) / 100);
_local4.start();
_local2.snd = _local4;
_local2.vol = _local5.vol;
m_cnt++;
m_seList[m_seIndex] = _local2;
m_seIndex++;
if (m_seIndex >= m_seList.length) {
m_seIndex = 0;
}
return(_local3);
}
function playMusic(musicname, mode) {
var _local2;
var _local3;
var _local4;
if (mode == "DIFFERENT") {
if ((m_music != undefined) && (m_music.idname == musicname)) {
return(undefined);
}
}
freeSound(m_music);
if (!jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Bgm) {
return(undefined);
}
m_fadeTime = 0;
m_fadeCount = 0;
_local3 = "msc" + m_cnt;
_local2 = m_mc.createEmptyMovieClip(_local3, m_cnt);
_local4 = new Sound(_local2);
_local2.snd = _local4;
_local2.volume = 100;
_local2.idname = musicname;
m_cnt++;
m_music = _local2;
m_musicIndex = 0;
m_musicData = jp.bambooshootdesign.app.heavymetalgirl.sys.SoundResource.getMusicData(musicname);
playMusicOne();
}
function playMusicOne() {
var _local3;
var _local2 = m_music.snd;
if (m_musicData.length <= m_musicIndex) {
return(undefined);
}
_local3 = m_musicData[m_musicIndex];
_local2.attachSound(_local3.id);
if (_local3.loop != 0) {
_local2.start(0, _local3.loop);
_local2.onSoundComplete = playNextSound;
} else {
_local2.start(0, 9999);
}
_local2.setVolume(m_music.volume);
m_musicIndex++;
}
function setVolume(id, vol) {
var _local2;
for (var _local5 in m_seList) {
_local2 = m_seList[_local5];
if (_local2.seid == id) {
_local2.snd.setVolume((vol * _local2.vol) / 100);
break;
}
}
}
function setMusicVolume(vol) {
m_music.volume = vol;
m_music.snd.setVolume(m_music.volume);
}
function stopSE(id) {
var _local2;
for (var _local4 in m_seList) {
_local2 = m_seList[_local4];
if (_local2.seid == id) {
freeSound(_local2);
m_seList[_local4] = undefined;
break;
}
}
}
function stopMusic() {
if (m_music != undefined) {
freeSound(m_music);
m_music = undefined;
}
m_fadeTime = 0;
m_fadeCount = 0;
}
function stopAll() {
var _local3;
var _local4;
var _local2 = m_seList.length - 1;
while (_local2 >= 0) {
_local3 = m_seList[_local2];
freeSound(_local3);
_local2--;
}
stopMusic();
_local4 = new Sound();
_local4.stop();
}
function move() {
if (m_fadeTime != 0) {
m_fadeCount = m_fadeCount + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_fadeCount >= m_fadeTime) {
freeSound(m_music);
m_music = undefined;
m_fadeTime = 0;
m_fadeCount = 0;
} else {
m_music.volume = 100 - ((m_fadeCount * 100) / m_fadeTime);
m_music.snd.setVolume(m_music.volume);
}
}
}
function fadeOutMusic(musicname, time) {
if ((m_music != undefined) && (m_music.idname != musicname)) {
m_fadeTime = time;
m_fadeCount = 0;
}
}
function freeSound(mc) {
if (mc != undefined) {
mc.snd.onSoundComplete = undefined;
mc.snd.stop();
delete mc.snd;
mc.removeMovieClip();
}
}
static function playNextSound() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playMusicOne();
}
}
Symbol 3106 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.SoundResource] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.SoundResource
{
function SoundResource () {
}
static function getSEInfo(name) {
return(SeResource[name]);
}
static function getMusicData(name) {
return(MusicResource[name]);
}
static var SeResource = {MyShot:{id:"SE_PlayerShot", vol:100}, Defense:{id:"SE_PlayerDamage", vol:50}, Recovery:{id:"SE_PowerUp", vol:50}, PowerUp:{id:"SE_PowerUp", vol:50}, ScoreItem:{id:"SE_ScoreItem", vol:20}, EnemyShot:{id:"SE_MyShot", vol:10}, EnemyHorming:{id:"SE_EnemyHorming", vol:20}, BossChainHit:{id:"SE_Defense", vol:30}, Drill:{id:"SE_Drill", vol:30}, Explosion:{id:"SE_Explosion", vol:20}, BigExplosion:{id:"SE_BigExplosion", vol:100}, MoveMenu:{id:"SE_MoveMenu", vol:30}, SelectMenu:{id:"SE_SelectMenu", vol:100}, ScoreCount:{id:"SE_ScoreCount", vol:40}, End:{}};
static var MusicResource = {Stage1:[{id:"MUSIC_Stage1_Intro", loop:1}, {id:"MUSIC_Stage1_Loop", loop:0}], Stage2:[{id:"MUSIC_Stage2_Intro", loop:1}, {id:"MUSIC_Stage2_Loop", loop:0}], Stage3:[{id:"MUSIC_Stage3_Intro", loop:1}, {id:"MUSIC_Stage3_Loop", loop:0}], Stage4:[{id:"MUSIC_Stage4_Intro", loop:1}, {id:"MUSIC_Stage4_Loop", loop:0}], Boss:[{id:"MUSIC_Boss_Intro", loop:1}, {id:"MUSIC_Boss_Loop", loop:0}], LastBoss:[{id:"MUSIC_LastBoss_Intro", loop:1}, {id:"MUSIC_LastBoss_Loop", loop:0}], Ending:[{id:"MUSIC_Ending", loop:1}], GameOver:[{id:"MUSIC_GameOver", loop:1}], End:[]};
}
Symbol 3107 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.Option] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.Option
{
var m_hiScore, m_bgm, m_se;
function Option () {
m_hiScore = 0;
HiScore = (1000);
Bgm = (true);
Se = (true);
}
function load() {
var _local2;
_local2 = SharedObject.getLocal(SO_ID);
if (_local2.data.Bgm == undefined) {
_local2.data.Bgm = true;
}
if (_local2.data.Se == undefined) {
_local2.data.Se = true;
}
if (_local2.data.HiScore == undefined) {
_local2.data.HiScore = 1000;
}
Bgm = (_local2.data.Bgm);
Se = (_local2.data.Se);
HiScore = (_local2.data.HiScore);
}
function save() {
var _local2;
_local2 = SharedObject.getLocal(SO_ID);
_local2.data.Bgm = Bgm;
_local2.data.Se = Se;
_local2.data.HiScore = HiScore;
_local2.flush(256);
}
function get HiScore() {
return(m_hiScore);
}
function get Bgm() {
return(m_bgm);
}
function get Se() {
return(m_se);
}
function set HiScore(score) {
if (m_hiScore < score) {
m_hiScore = score;
}
//return(HiScore);
}
function set Bgm(bgm) {
m_bgm = bgm;
//return(Bgm);
}
function set Se(se) {
m_se = se;
//return(Se);
}
static var SO_ID = "HMG";
}
Symbol 3108 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.GameMode] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.GameMode
{
var m_mode;
function GameMode () {
m_mode = GM_NORMAL;
}
function setRankingMode() {
m_mode = GM_RANKING;
}
function setNormalMode() {
m_mode = GM_NORMAL;
}
function isRankingMode() {
return(m_mode == GM_RANKING);
}
function isNormalMode() {
return(m_mode == GM_NORMAL);
}
static var GM_NORMAL = 1;
static var GM_RANKING = 2;
}
Symbol 3109 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo
{
static var m_lastLoop, m_lastStage, m_lastFloor, m_currentSpeed, m_isPauseKeyDown, m_isPause, m_mcPause, m_scoreStage, m_scoreTotal, m_restTime, m_loop, m_isStart, m_stage, m_floor, m_level, m_playerHp, m_clockTime, m_skateTime, m_speakerTime;
function SysInfo () {
}
static function initFirst() {
Option.load();
m_lastLoop = -1;
m_lastStage = -1;
m_lastFloor = -1;
setStart(false);
}
static function initGame() {
clearScore();
initLevel();
initLoop();
initStageNum();
initFloorNum();
Player.initParam();
setEnemySpeed(1000);
}
static function initGameLoop() {
initStageNum();
initFloorNum();
}
static function continueGameLoop() {
clearScore();
initLevel();
continueLoop();
continueStageNum();
continueFloorNum();
Player.initParam();
setEnemySpeed(1000);
initFloorNum();
}
static function initStage() {
clearStageScore();
setRestTime(60000);
setStart(false);
m_currentSpeed = 0;
m_isPauseKeyDown = true;
m_isPause = false;
m_mcPause = undefined;
}
static function clearStage() {
incFloorNum();
updateScore();
Player.saveParam();
}
static function endGame() {
saveLoop();
saveStageNum();
saveFloorNum();
Option.HiScore = getScore();
Option.save();
}
static function clearGame() {
updateScore();
incLoop();
initStageNum();
initFloorNum();
}
static function reset() {
}
static function move() {
checkPause();
if (!isPause()) {
if (isStart()) {
updateRestTime();
}
}
}
static function disp() {
if (Debug.isActive()) {
Debug.output("EnemySpeed: " + getEnemySpeed());
}
}
static function checkPause() {
if (isStart() && (!Player.isLock())) {
var _local1 = Key.isDown(13);
if ((m_isPauseKeyDown ^ _local1) & (!m_isPauseKeyDown)) {
m_isPause = !m_isPause;
if (m_mcPause != undefined) {
m_mcPause.removeMovieClip();
m_mcPause = undefined;
}
if (m_isPause) {
m_mcPause = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "PauseMC", "Pause");
m_mcPause._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcPause._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcPause._visible = true;
}
}
m_isPauseKeyDown = _local1;
}
}
static function isPause() {
return(m_isPause);
}
static function setScore(score) {
m_scoreStage = score;
}
static function addScore(score) {
m_scoreStage = m_scoreStage + score;
}
static function getScore() {
return(m_scoreTotal + m_scoreStage);
}
static function getStageScore() {
return(m_scoreStage);
}
static function clearScore() {
m_scoreTotal = 0;
m_scoreStage = 0;
}
static function clearStageScore() {
m_scoreStage = 0;
}
static function updateScore() {
m_scoreTotal = m_scoreTotal + m_scoreStage;
m_scoreStage = 0;
}
static function calcSpeed(spd) {
return(Player.calcSpeed(spd));
}
static function updateSpeed() {
m_currentSpeed = Player.calcSpeed(getRate());
}
static function setSpeed(speed) {
m_currentSpeed = speed;
}
static function getSpeed() {
return(m_currentSpeed);
}
static function getRestTime() {
return(m_restTime);
}
static function updateRestTime() {
m_restTime = m_restTime - getRate();
}
static function setRestTime(time) {
m_restTime = time;
}
static function addRestTime(time) {
m_restTime = m_restTime + time;
}
static function setRestTimeWithLoop(time, loop) {
if (m_loop == loop) {
m_restTime = time;
}
}
static function isStart() {
return(m_isStart);
}
static function setStart(flag) {
m_isStart = flag;
}
static function setEnemySpeed(spd) {
m_enemySpeed = spd;
}
static function getEnemySpeed() {
return(m_enemySpeed);
}
static function getHp() {
return(Player.getPower());
}
static function getRate() {
return(1000 / getFrameRate());
}
static function getFrameRate() {
return(30);
}
static function initStageNum() {
m_stage = 0;
}
static function getStageNum() {
return(m_stage);
}
static function incStageNum() {
m_stage++;
}
static function continueStageNum() {
m_stage = m_lastStage;
}
static function saveStageNum() {
m_lastStage = m_stage;
}
static function isLastStage() {
return(m_stage >= (GP_STAGE_MAX - 1));
}
static function initFloorNum() {
m_floor = 0;
}
static function getFloorNum() {
return(m_floor);
}
static function incFloorNum() {
if (isLastFloor()) {
incStageNum();
initFloorNum();
} else {
m_floor++;
}
if (m_stage >= GP_STAGE_MAX) {
m_stage = GP_STAGE_MAX - 1;
m_floor = GP_FLOOR_MAX - 1;
}
}
static function continueFloorNum() {
m_floor = m_lastFloor;
}
static function saveFloorNum() {
m_lastFloor = m_floor;
}
static function isLastFloor() {
return(m_floor >= (GP_FLOOR_MAX - 1));
}
static function initLoop() {
m_loop = 1;
}
static function incLoop() {
m_loop++;
if (m_loop > LOOP_DISP_MAX) {
m_loop = LOOP_DISP_MAX;
}
}
static function getLoop() {
return(m_loop);
}
static function continueLoop() {
m_loop = m_lastLoop;
}
static function saveLoop() {
m_lastLoop = m_loop;
}
static function initLevel() {
m_level = 1;
}
static function getLevel() {
return(m_level);
}
static function setLevel(lv) {
m_level = lv;
}
static function incLevel() {
m_level++;
}
static function setLevelWithLoop(lv, loop) {
var _local1 = m_loop;
if (_local1 > LOOP_MAX) {
_local1 = LOOP_MAX;
}
if (_local1 == loop) {
m_level = lv;
}
}
static function isContinue() {
return((m_lastLoop >= 0) && (m_lastStage >= 0));
}
static function getLevelSpeed() {
return(1000 + ((m_level - 1) * 200));
}
static function get PlayerHp() {
return(m_playerHp);
}
static function get ClockTime() {
return(m_clockTime);
}
static function get SkateTime() {
return(m_skateTime);
}
static function get SpeakerTime() {
return(m_speakerTime);
}
static function set PlayerHp(playerHp) {
m_playerHp = playerHp;
//return(PlayerHp);
}
static function set ClockTime(clockTime) {
m_clockTime = clockTime;
//return(ClockTime);
}
static function set SkateTime(skateTime) {
m_skateTime = skateTime;
//return(SkateTime);
}
static function set SpeakerTime(speakerTime) {
m_speakerTime = speakerTime;
//return(SpeakerTime);
}
static function updateAttr() {
m_attr++;
m_WorkList.setAttr(m_attr);
}
static function getAttr() {
return(m_attr);
}
static function get WorkList() {
return(m_WorkList);
}
static function get Collision() {
return(m_Collision);
}
static function get SceneGraph() {
return(m_SceneGraph);
}
static function get EnemyGroup() {
return(m_EnemyGroup);
}
static function get ShotGroup() {
return(m_ShotGroup);
}
static function get Debug() {
return(m_Debug);
}
static function get Player() {
return(m_Player);
}
static function get SoundManager() {
return(m_SoundManager);
}
static function get Status() {
return(m_Status);
}
static function get Option() {
return(m_Option);
}
static function get GameMode() {
return(m_GameMode);
}
static var m_WorkList = new jp.bambooshootdesign.sys.WorkList();
static var m_Player = new jp.bambooshootdesign.app.heavymetalgirl.sys.Player();
static var m_Collision = new jp.bambooshootdesign.app.heavymetalgirl.sys.Collision();
static var m_SceneGraph = new jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph();
static var m_EnemyGroup = new jp.bambooshootdesign.sys.Group();
static var m_ShotGroup = new jp.bambooshootdesign.sys.Group();
static var m_Debug = new jp.bambooshootdesign.app.heavymetalgirl.sys.Debug();
static var m_Status = new jp.bambooshootdesign.app.heavymetalgirl.sys.Status();
static var m_SoundManager = new jp.bambooshootdesign.app.heavymetalgirl.sys.SoundManager();
static var m_Option = new jp.bambooshootdesign.app.heavymetalgirl.sys.Option();
static var m_GameMode = new jp.bambooshootdesign.app.heavymetalgirl.sys.GameMode();
static var m_enemySpeed = 1000;
static var m_attr = 0;
static var ONE = 960;
static var LOOP_MAX = 3;
static var LOOP_DISP_MAX = 9;
static var GP_STAGE_MAX = 4;
static var GP_FLOOR_MAX = 9;
}
Symbol 3110 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.FpsManager] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.FpsManager
{
var m_fps, m_lastTime, m_pause;
function FpsManager (fps) {
m_fps = fps;
m_lastTime = getTimer();
m_pause = false;
}
function getLoopCount() {
var _local3;
var _local4;
var _local2;
_local3 = getTimer();
_local4 = _local3 - m_lastTime;
if (_local4 >= (1000 / m_fps)) {
_local2 = Math.floor(_local4 / (1000 / m_fps));
} else {
_local2 = 1;
}
if (_local2 > 4) {
_local2 = 4;
m_lastTime = _local3;
} else {
m_lastTime = m_lastTime + ((1000 / m_fps) * _local2);
if (Math.abs(m_lastTime - _local3) < ((1000 / m_fps) / 10)) {
m_lastTime = _local3;
}
}
return(_local2);
}
function pause() {
if (m_pause) {
m_lastTime = getTimer();
}
m_pause = !m_pause;
}
function isPause() {
return(m_pause);
}
}
Symbol 3111 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.sys.FPS] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.sys.FPS
{
var m_lastSec, m_count, m_dispCount, m_mc, m_wl;
function FPS (x, y) {
m_lastSec = Math.floor(getTimer() / 1000);
m_count = 1;
m_dispCount = 1;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_UTIL, "FPSMC", "FPS");
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.append(this);
m_mc._x = x;
m_mc._y = y;
m_mc._visible = true;
m_mc.fps = 0;
}
function move() {
var _local2 = Math.floor(getTimer() / 1000);
if (_local2 == m_lastSec) {
m_count++;
} else {
m_mc.fps = ((m_count + "(") + m_dispCount) + ")";
m_lastSec = _local2;
m_count = 1;
m_dispCount = 0;
}
return(true);
}
function ctrl() {
return(true);
}
function disp() {
m_dispCount++;
m_mc._visible = true;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
}
Symbol 3112 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowPublisherLogo] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowPublisherLogo extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_isDestroy, m_result;
function FlowPublisherLogo (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_OTHER, preFlow);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuPublisherLogo(m_context, this, preFlow);
}
function move(mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
function disp(mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT) {
m_result = eventID;
}
}
}
Symbol 3113 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuPublisherLogo] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuPublisherLogo extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_nowFlow, m_preFlow, m_mc, m_wl, m_context;
function MenuPublisherLogo (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "ShockwaveLogoMC", "ShockwaveLogo");
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc.gotoAndPlay(1);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
if (m_mc._currentframe >= m_mc._totalframes) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
return(false);
}
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
}
Symbol 3114 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowMakerLogo] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowMakerLogo extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_isDestroy, m_result;
function FlowMakerLogo (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_OTHER, preFlow);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuMakerLogo(m_context, this, preFlow);
}
function move(mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
function disp(mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT) {
m_result = eventID;
}
}
}
Symbol 3115 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuMakerLogo] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuMakerLogo extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_nowFlow, m_preFlow, m_skip, m_mc, m_wl, m_context;
function MenuMakerLogo (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_skip = false;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "BambooLogoMC", "BambooLogo");
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc.gotoAndPlay(1);
m_mc._visible = true;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
Key.addListener(this);
Mouse.addListener(this);
}
function move() {
if ((m_mc._currentframe >= m_mc._totalframes) || (m_skip)) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
return(false);
}
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
Key.removeListener(this);
Mouse.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
function onKeyDown() {
m_skip = true;
}
function onKeyup() {
}
function onMouseDown() {
m_skip = true;
}
function onMouseMove() {
}
function onMouseUp() {
}
function onMouseWheel() {
}
}
Symbol 3116 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowTitle] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowTitle extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowTitle (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_TITLE, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(true);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuTitle(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (((eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_START) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE)) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT)) {
m_result = eventID;
}
}
}
Symbol 3117 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuTitle] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuTitle extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_mode, m_count, m_mcMenu, m_context, m_mcMenuHiscore, m_mcNextHiscore, m_wl, m_isContinue, m_curMenuIdx, m_titleMenuIdx, m_optionMenuIdx, m_storyMenuIdx, m_manualMenuIdx, m_option, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_maskMC, m_isWait, m_nextMenuIdx, m_maskDiamondMC, m_mcNext, m_maskTitleOptionMC, m_btnMcList, m_mcCursor;
function MenuTitle (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_mode = MODE_TITLE_MENU_IN;
m_count = 0;
m_mcMenu = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "TitleMenuMC", "TitleMenu", m_context.getBase());
m_mcMenu._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcMenu._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcMenu.gotoAndStop(1);
m_mcMenu._visible = true;
m_mcMenuHiscore = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 8, -232, 0, 10, "Mini", m_mcMenu);
m_mcMenuHiscore.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.HiScore);
m_mcNextHiscore = undefined;
initCursor();
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
Key.addListener(this);
Mouse.addListener(this);
m_isContinue = false;
m_curMenuIdx = MENU_TITLE;
m_titleMenuIdx = 0;
m_optionMenuIdx = 0;
m_storyMenuIdx = 0;
m_manualMenuIdx = 0;
m_option = {};
m_option.Bgm = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Bgm;
m_option.Se = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Se;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
switch (m_mode) {
case MODE_TITLE_MENU_IN :
m_curMenuIdx = MENU_TITLE;
initMenu(MENU_TITLE);
createCursor();
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), 0, 4096, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_TITLE_TIME, false, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMCDepth());
m_maskMC.attach();
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_TITLE_IN, undefined);
m_count = 0;
if (m_preFlow != undefined) {
m_mode = MODE_TITLE_MENU_IN_WAIT;
} else {
m_mode = MODE_TITLE_MENU_IN_WAIT2;
}
break;
case MODE_TITLE_MENU_IN_WAIT :
if (!m_isWait) {
m_maskMC.setAuto(true);
m_mode = MODE_TITLE_MENU;
m_count = 0;
if (m_preFlow != undefined) {
m_preFlow.destroy();
}
}
break;
case MODE_TITLE_MENU_IN_WAIT2 :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_TITLE_TIME) {
m_maskMC.setAuto(true);
m_mode = MODE_TITLE_MENU;
m_count = 0;
}
break;
case MODE_TITLE_MENU :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (moveTitle()) {
switch (m_nextMenuIdx) {
case START :
m_maskDiamondMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskDiamond(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_STAGESTART_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN);
m_isWait = true;
m_mode = MODE_TITLE_MENU_OUT;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_START, undefined);
break;
case CONTINUE :
m_maskDiamondMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskDiamond(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_STAGESTART_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN);
m_isWait = true;
m_mode = MODE_TITLE_MENU_OUT;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE, undefined);
break;
case OPTION :
m_mode = MODE_OPTION_MENU_IN;
break;
case STORY :
m_mode = MODE_STORY_MENU_IN;
break;
case MANUAL :
m_mode = MODE_MANUAL_MENU_IN;
}
hideCursor();
destroyCursor();
}
break;
case MODE_TITLE_MENU_OUT :
if (!m_isWait) {
m_maskDiamondMC.attach();
m_mode = MODE_TITLE_MENU_OUT_WAIT;
m_count = 0;
}
break;
case MODE_TITLE_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_STAGESTART_TIME) {
m_maskDiamondMC.setAuto(true);
m_mcMenu._visible = false;
m_mode = MODE_END;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN_END, undefined);
}
break;
case MODE_OPTION_MENU_IN :
m_mcNext = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "TitleOptionMC", "TitleOption", m_context.getBase());
m_mcNext._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcNext._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcNext.gotoAndStop(1);
m_mcNext._visible = true;
m_mcNextHiscore = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 8, -232, 0, 10, "Mini", m_mcNext);
m_mcNextHiscore.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.HiScore);
m_maskTitleOptionMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskTitleOption(m_context, m_mcNext, 0, 4096, MASK_OPTION_IN_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskTitleOptionMC.attach();
createCursor();
m_mode = MODE_OPTION_MENU_IN_WAIT;
m_count = 0;
m_curMenuIdx = MENU_OPTION;
initMenu(MENU_OPTION);
break;
case MODE_OPTION_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_OPTION_IN_TIME) {
m_maskTitleOptionMC.setAuto(true);
m_mode = MODE_OPTION_MENU;
m_count = 0;
}
break;
case MODE_OPTION_MENU :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (moveOption()) {
m_mode = MODE_OPTION_MENU_OUT;
hideCursor();
destroyCursor();
}
break;
case MODE_OPTION_MENU_OUT :
m_maskTitleOptionMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskTitleOption(m_context, m_mcNext, 4096, 0, MASK_OPTION_OUT_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskTitleOptionMC.attach();
m_mode = MODE_OPTION_MENU_OUT_WAIT;
m_count = 0;
break;
case MODE_OPTION_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_OPTION_OUT_TIME) {
m_maskTitleOptionMC.setAuto(true);
m_maskTitleOptionMC.detach();
m_mcNextHiscore.destroy();
m_mcNextHiscore = undefined;
m_mcNext.removeMovieClip();
m_mode = MODE_TITLE_MENU;
m_count = 0;
m_curMenuIdx = MENU_TITLE;
initMenu(MENU_TITLE);
createCursor();
}
break;
case MODE_STORY_MENU_IN :
m_mcNext = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "TitleStoryMC", "TitleStory", m_context.getBase());
m_mcNext._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcNext._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcNext.gotoAndStop(1);
m_mcNext._visible = true;
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, m_mcNext, 0, 4096, MASK_STORY_IN_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskMC.attach();
createCursor();
m_mode = MODE_STORY_MENU_IN_WAIT;
m_count = 0;
m_curMenuIdx = MENU_STORY;
initMenu(MENU_STORY);
break;
case MODE_STORY_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_STORY_IN_TIME) {
m_maskMC.setAuto(true);
m_mode = MODE_STORY_MENU;
m_count = 0;
}
break;
case MODE_STORY_MENU :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (moveStory()) {
m_mode = MODE_STORY_MENU_OUT;
hideCursor();
destroyCursor();
}
break;
case MODE_STORY_MENU_OUT :
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, m_mcNext, 4096, 0, MASK_STORY_OUT_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskMC.attach();
m_mode = MODE_STORY_MENU_OUT_WAIT;
m_count = 0;
break;
case MODE_STORY_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_STORY_OUT_TIME) {
m_maskMC.setAuto(true);
m_maskMC.detach();
m_mcNext.removeMovieClip();
m_mode = MODE_TITLE_MENU;
m_count = 0;
m_curMenuIdx = MENU_TITLE;
initMenu(MENU_TITLE);
createCursor();
}
break;
case MODE_MANUAL_MENU_IN :
m_mcNext = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "TitleManualMC", "TitleManual", m_context.getBase());
m_mcNext._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcNext._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcNext.gotoAndStop(1);
m_mcNext._visible = true;
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, m_mcNext, 0, 4096, MASK_MANUAL_IN_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskMC.attach();
createCursor();
m_mode = MODE_MANUAL_MENU_IN_WAIT;
m_count = 0;
m_curMenuIdx = MENU_MANUAL;
initMenu(MENU_MANUAL);
break;
case MODE_MANUAL_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_MANUAL_IN_TIME) {
m_maskMC.setAuto(true);
m_mode = MODE_MANUAL_MENU;
m_count = 0;
}
break;
case MODE_MANUAL_MENU :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (moveManual()) {
m_mode = MODE_MANUAL_MENU_OUT;
hideCursor();
destroyCursor();
}
break;
case MODE_MANUAL_MENU_OUT :
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, m_mcNext, 4096, 0, MASK_MANUAL_OUT_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS);
m_maskMC.attach();
m_mode = MODE_MANUAL_MENU_OUT_WAIT;
m_count = 0;
break;
case MODE_MANUAL_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= MASK_MANUAL_OUT_TIME) {
m_maskMC.setAuto(true);
m_maskMC.detach();
m_mcNext.removeMovieClip();
m_mode = MODE_TITLE_MENU;
m_count = 0;
m_curMenuIdx = MENU_TITLE;
initMenu(MENU_TITLE);
createCursor();
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveTitle() {
var _local6 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local5;
var _local4;
var _local3;
_local4 = m_mcMenu._xmouse;
_local3 = m_mcMenu._ymouse;
_local5 = -1;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
showCursor(_local4, _local3);
_local5 = _local2;
break;
}
_local2--;
}
if (_local5 != -1) {
if (m_checkMouseClick) {
if ((!m_isContinue) && (_local2 >= TITLE_CONTINUE)) {
_local6 = _local5 + 1;
} else {
_local6 = _local5;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
} else if (m_titleMenuIdx != _local5) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_titleMenuIdx = _local5;
} else {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_DOWN) {
m_titleMenuIdx++;
if (m_titleMenuIdx > ((TITLE_MAX - (m_isContinue ? 0 : 1)) - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode() ? 0 : 1))) {
m_titleMenuIdx = 0;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_UP) {
m_titleMenuIdx--;
if (m_titleMenuIdx < 0) {
m_titleMenuIdx = (TITLE_MAX - (m_isContinue ? 0 : 1)) - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode() ? 0 : 1);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_ENTER) {
if ((!m_isContinue) && (m_titleMenuIdx >= TITLE_CONTINUE)) {
_local6 = m_titleMenuIdx + 1;
} else {
_local6 = m_titleMenuIdx;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
hideCursor();
}
if (_local6 != -1) {
switch (_local6) {
case TITLE_START :
m_nextMenuIdx = START;
break;
case TITLE_CONTINUE :
m_nextMenuIdx = CONTINUE;
break;
case TITLE_OPTION :
m_nextMenuIdx = OPTION;
break;
case TITLE_STORY :
m_nextMenuIdx = STORY;
break;
case TITLE_MANUAL :
m_nextMenuIdx = MANUAL;
break;
case TITLE_RANKING :
var _local7 = new jp.bambooshootdesign.app.heavymetalgirl.highscore.HeavyMetalGirlHighscore();
_local7.connectHighscore(com.shockwave.sys.HighscoreSystem.FT_VIEW);
_local6 = -1;
}
}
return(_local6 != -1);
}
function moveOption() {
var _local8 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local4;
var _local3;
var _local7 = false;
_local4 = m_mcNext._xmouse;
_local3 = m_mcNext._ymouse;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
var _local9 = m_btnMcList[_local2];
if (_local9.type == "switch") {
var _local5;
var _local6;
_local5 = updateBtn(_local9.onmc, _local9.rollonmc, _local4, _local3);
_local6 = updateBtn(_local9.offmc, _local9.rolloffmc, _local4, _local3);
if (_local5 || (_local6)) {
if (m_optionMenuIdx != _local2) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_optionMenuIdx = _local2;
showCursor(_local4, _local3);
_local7 = true;
}
if (m_checkMouseClick) {
if (_local5) {
m_option[_local9.name] = true;
_local9.onmc.gotoAndStop(1);
_local9.offmc.gotoAndStop(2);
changeOption(_local9.name, true);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (_local6) {
m_option[_local9.name] = false;
_local9.onmc.gotoAndStop(2);
_local9.offmc.gotoAndStop(1);
changeOption(_local9.name, false);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
}
} else if (_local9.type == "menu") {
if (hitCheckMC(_local9.menumc, _local4, _local3)) {
if (m_checkMouseClick) {
_local8 = _local2;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
} else {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_optionMenuIdx = _local2;
showCursor(_local4, _local3);
_local7 = true;
}
}
_local2--;
}
if (!_local7) {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_DOWN) {
m_optionMenuIdx++;
if (m_optionMenuIdx > OPTION_BACK) {
m_optionMenuIdx = 0;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_UP) {
m_optionMenuIdx--;
if (m_optionMenuIdx < 0) {
m_optionMenuIdx = OPTION_BACK;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_optionMenuIdx == OPTION_BACK) {
if (m_keyAction == KEY_ENTER) {
_local8 = m_titleMenuIdx;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
} else {
var _local9 = m_btnMcList[m_optionMenuIdx];
var _local10;
_local10 = !m_option[_local9.name];
m_option[_local9.name] = _local10;
_local9.onmc.gotoAndStop((_local10 ? 1 : 2));
_local9.offmc.gotoAndStop((_local10 ? 2 : 1));
changeOption(_local9.name, _local10);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
hideCursor();
}
if (_local8 != -1) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.save();
}
return(_local8 != -1);
}
function moveManual() {
var _local5 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local4;
var _local3;
var _local6 = false;
_local4 = m_mcNext._xmouse;
_local3 = m_mcNext._ymouse;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
if (m_checkMouseClick) {
_local5 = _local2;
}
m_manualMenuIdx = _local2;
_local6 = true;
showCursor(_local4, _local3);
}
_local2--;
}
if (!_local6) {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_ENTER) {
_local5 = m_manualMenuIdx;
}
}
if (_local5 != -1) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
return(_local5 != -1);
}
function moveStory() {
var _local5 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local4;
var _local3;
var _local6 = false;
_local4 = m_mcNext._xmouse;
_local3 = m_mcNext._ymouse;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
if (m_checkMouseClick) {
_local5 = _local2;
}
m_storyMenuIdx = _local2;
_local6 = true;
showCursor(_local4, _local3);
}
_local2--;
}
if (!_local6) {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_ENTER) {
_local5 = m_storyMenuIdx;
}
}
if (_local5 != -1) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
return(_local5 != -1);
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
switch (m_curMenuIdx) {
case MENU_TITLE :
_local2 = m_btnMcList[m_titleMenuIdx];
m_mcMenu.Select._x = _local2._x;
m_mcMenu.Select._y = _local2._y;
m_mcMenuHiscore.disp();
break;
case MENU_OPTION :
var _local3 = m_btnMcList[m_optionMenuIdx];
_local2 = _local3.menumc;
m_mcNext.Select._x = _local2._x + _local3.offset;
m_mcNext.Select._y = _local2._y;
m_mcNext.Select.bar._width = _local3.width;
m_mcNext.Select.leftChar._x = ((-_local3.width) / 2) - (m_mcNext.Select.leftChar._width / 2);
m_mcNext.Select.rightChar._x = (_local3.width / 2) + (m_mcNext.Select.rightChar._width / 2);
m_mcNextHiscore.disp();
break;
case MENU_STORY :
_local2 = m_btnMcList[m_storyMenuIdx];
m_mcNext.Select._x = _local2._x;
m_mcNext.Select._y = _local2._y;
break;
case MENU_MANUAL :
_local2 = m_btnMcList[m_manualMenuIdx];
m_mcNext.Select._x = _local2._x;
m_mcNext.Select._y = _local2._y;
}
m_mcMenuHiscore.disp();
if (m_mcNextHiscore != undefined) {
m_mcNextHiscore.disp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mcMenuHiscore.destroy();
m_mcMenu.removeMovieClip();
}
function onKeyDown() {
var _local2 = Key.getCode();
if (_local2 == 38) {
m_keyAction = KEY_UP;
}
if (_local2 == 40) {
m_keyAction = KEY_DOWN;
}
if ((_local2 == 37) || (_local2 == 39)) {
m_keyAction = KEY_CHANGE;
}
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function initMenu(idx) {
var _local4;
m_btnMcList = [];
switch (idx) {
case MENU_TITLE :
_local4 = m_mcMenu;
m_btnMcList.push(_local4.startBtn);
m_btnMcList.push(_local4.optionBtn);
m_btnMcList.push(_local4.storyBtn);
m_btnMcList.push(_local4.manualBtn);
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode()) {
m_btnMcList.push(_local4.rankingBtn);
} else {
_local4.rankingBtn._visible = false;
}
_local4.HiScore = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.HiScore;
break;
case MENU_OPTION :
_local4 = m_mcNext;
m_btnMcList.push({type:"switch", name:"Bgm", menumc:_local4.bgmMenu, onmc:_local4.bgmOnBtn, offmc:_local4.bgmOffBtn, rollonmc:_local4.bgmOnRoll, rolloffmc:_local4.bgmOffRoll, width:320, offset:68});
m_btnMcList.push({type:"switch", name:"Se", menumc:_local4.seMenu, onmc:_local4.seOnBtn, offmc:_local4.seOffBtn, rollonmc:_local4.seOnRoll, rolloffmc:_local4.seOffRoll, width:320, offset:74});
m_btnMcList.push({type:"menu", name:"Back", menumc:_local4.backBtn, mc:_local4.backBtn, width:176, offset:0});
var _local3 = m_btnMcList.length - 1;
while (_local3 >= 0) {
var _local2 = m_btnMcList[_local3];
if (_local2.type == "switch") {
_local2.rollonmc._visible = false;
_local2.rolloffmc._visible = false;
_local2.onmc.gotoAndStop((m_option[_local2.name] ? 1 : 2));
_local2.offmc.gotoAndStop((m_option[_local2.name] ? 2 : 1));
}
_local3--;
}
break;
case MENU_STORY :
_local4 = m_mcNext;
m_btnMcList.push(_local4.backBtn);
break;
case MENU_MANUAL :
_local4 = m_mcNext;
m_btnMcList.push(_local4.backBtn);
}
}
function changeOption(opt, onoff) {
switch (opt) {
case "Bgm" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Bgm = onoff;
break;
case "Se" :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.Se = onoff;
}
}
function hitCheck(btnIdx, x, y) {
var _local2 = m_btnMcList[btnIdx];
return(hitCheckMC(_local2, x, y));
}
function updateBtn(mc, rollmc, x, y) {
var _local2 = hitCheckMC(mc, x, y);
rollmc._visible = _local2;
return(_local2);
}
function hitCheckMC(mcb, x, y) {
if (((((mcb._x - (mcb._width / 2)) <= x) && ((mcb._x + (mcb._width / 2)) >= x)) && ((mcb._y - (mcb._height / 2)) <= y)) && ((mcb._y + (mcb._height / 2)) >= y)) {
return(true);
}
return(false);
}
function initCursor() {
m_mcCursor = undefined;
}
function createCursor() {
if (m_mcCursor != undefined) {
destroyCursor();
}
m_mcCursor = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "CursorMC", "Cursor", m_context.getBase());
m_mcCursor._visible = false;
}
function destroyCursor() {
if (m_mcCursor != undefined) {
m_mcCursor.removeMovieClip();
m_mcCursor = undefined;
}
}
function showCursor(x, y) {
var _local2 = m_mcCursor;
_local2._x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2) + x;
_local2._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + y;
_local2._visible = true;
Mouse.hide();
}
function showCursor2(x, y) {
var _local2 = m_mcCursor;
_local2._x = x;
_local2._y = y;
_local2._visible = true;
Mouse.hide();
}
function hideCursor() {
var _local2 = m_mcCursor;
_local2._visible = false;
Mouse.show();
}
function onSceneGraphEvent(eventID, param) {
switch (eventID) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN :
m_isWait = false;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN :
m_isWait = false;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_TITLE_IN_END :
m_isWait = false;
}
}
static var TITLE = 0;
static var OPTION = 1;
static var STORY = 2;
static var MANUAL = 3;
static var RANKING = 4;
static var START = -1;
static var CONTINUE = -2;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var KEY_CHANGE = 4;
static var MODE_TITLE_MENU_IN = 1;
static var MODE_TITLE_MENU_IN_WAIT = 2;
static var MODE_TITLE_MENU_IN_WAIT2 = 50;
static var MODE_TITLE_MENU = 3;
static var MODE_TITLE_MENU_OUT = 4;
static var MODE_TITLE_MENU_OUT_WAIT = 5;
static var MODE_OPTION_MENU_IN = 6;
static var MODE_OPTION_MENU_IN_WAIT = 7;
static var MODE_OPTION_MENU = 8;
static var MODE_OPTION_MENU_OUT = 9;
static var MODE_OPTION_MENU_OUT_WAIT = 10;
static var MODE_STORY_MENU_IN = 11;
static var MODE_STORY_MENU_IN_WAIT = 12;
static var MODE_STORY_MENU = 13;
static var MODE_STORY_MENU_OUT = 14;
static var MODE_STORY_MENU_OUT_WAIT = 15;
static var MODE_MANUAL_MENU_IN = 16;
static var MODE_MANUAL_MENU_IN_WAIT = 17;
static var MODE_MANUAL_MENU = 18;
static var MODE_MANUAL_MENU_OUT = 19;
static var MODE_MANUAL_MENU_OUT_WAIT = 20;
static var MODE_END = 21;
static var MENU_TITLE = 0;
static var MENU_OPTION = 1;
static var MENU_STORY = 2;
static var MENU_MANUAL = 3;
static var TITLE_START = 0;
static var TITLE_CONTINUE = 1;
static var TITLE_OPTION = 2;
static var TITLE_STORY = 3;
static var TITLE_MANUAL = 4;
static var TITLE_RANKING = 5;
static var TITLE_MAX = 5;
static var OPTION_BGM = 0;
static var OPTION_SE = 1;
static var OPTION_BACK = 2;
static var MASK_TITLE_IN_TIME = 500;
static var MASK_TITLE_OUT_TIME = 500;
static var MASK_OPTION_IN_TIME = 500;
static var MASK_OPTION_OUT_TIME = 500;
static var MASK_STORY_IN_TIME = 500;
static var MASK_STORY_OUT_TIME = 500;
static var MASK_MANUAL_IN_TIME = 500;
static var MASK_MANUAL_OUT_TIME = 500;
}
Symbol 3118 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy
{
var m_count, m_targetMC, m_start, m_end, m_time, m_auto, m_isAttach, m_mc, m_mcLine, m_wl, m_context;
function Mask (context, targetMC, start, end, time, auto) {
super(context);
m_count = 0;
m_targetMC = targetMC;
m_start = start;
m_end = end;
m_time = time;
m_auto = auto;
m_isAttach = false;
m_mc = undefined;
m_mcLine = undefined;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
}
function move() {
if (m_isAttach) {
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
}
return(!(m_auto && (m_count > m_time)));
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
if (m_isAttach) {
_local2 = m_start + (((m_end - m_start) / m_time) * m_count);
_local2 = 1 + Math.floor(((m_mc._totalframes - 1) * _local2) / 4096);
if (_local2 > m_mc._totalframes) {
_local2 = m_mc._totalframes;
}
m_mc.gotoAndStop(_local2);
if (m_mcLine != undefined) {
m_mcLine.gotoAndStop(_local2);
}
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
detach();
m_mc.removeMovieClip();
if (m_mcLine != undefined) {
m_mcLine.removeMovieClip();
}
}
function setAuto(auto) {
m_auto = auto;
}
function attach() {
m_targetMC.setMask(m_mc);
m_isAttach = true;
if (m_mcLine != undefined) {
m_mcLine._visible = true;
}
}
function detach() {
if (m_isAttach) {
m_targetMC.setMask(null);
m_isAttach = false;
if (m_mcLine != undefined) {
m_mcLine._visible = false;
}
}
}
}
Symbol 3119 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask
{
var m_mc, m_context, m_mcLine;
function MaskNormal (context, targetMC, start, end, time, auto, maskPos) {
super(context, targetMC, start, end, time, auto);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(maskPos, "MaskShapeAnime01MC", "MaskShapeAnime01", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc._visible = false;
m_mc.gotoAndStop(1);
m_mcLine = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "MaskShapeLineAnime01MC", "MaskShapeLineAnime01");
m_mcLine._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcLine._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcLine._visible = false;
m_mcLine.gotoAndStop(1);
}
}
Symbol 3120 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskDiamond] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskDiamond extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask
{
var m_mc, m_context, m_mcLine;
function MaskDiamond (context, targetMC, start, end, time, auto, maskPos) {
super(context, targetMC, start, end, time, auto);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(maskPos, "MaskDiamondAnime01MC", "MaskDiamondAnime01", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc._visible = false;
m_mc.gotoAndStop(1);
m_mcLine = jp.bambooshootdesign.util.MovieClipFactory.create(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SYSTEM, "MaskDiamondLineAnime01MC", "MaskDiamondLineAnime01");
m_mcLine._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mcLine._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mcLine._visible = false;
m_mcLine.gotoAndStop(1);
}
}
Symbol 3121 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskTitleOption] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskTitleOption extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask
{
var m_mc, m_context;
function MaskTitleOption (context, targetMC, start, end, time, auto, maskPos) {
super(context, targetMC, start, end, time, auto);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.create(maskPos, "MaskTitleOptionMC", "MaskTitleOption", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc.gotoAndStop(1);
}
}
Symbol 3122 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu
{
function Menu () {
}
static var MASK_TITLE_TIME = 800;
static var MASK_STAGESTART_TIME = 800;
static var MASK_GAME_TIME = 800;
static var MASK_STAGECLEAR_TIME = 1600;
static var MASK_GAMECLEAR_TIME = 1600;
static var MASK_GAMEOVER_TIME = 1600;
}
Symbol 3123 MovieClip [__Packages.com.shockwave.sys.HighscoreSystem] Frame 0
class com.shockwave.sys.HighscoreSystem
{
var m_GameID, m_ScoreData, m_GameTitle, m_ScoreDes, m_PassWord;
function HighscoreSystem () {
m_GameID = "";
m_ScoreData = 0;
m_GameTitle = "";
m_ScoreDes = "";
m_PassWord = "";
}
function setScore(score) {
m_ScoreData = score;
}
function connectHighscore(FunctionType) {
var _local4;
var _local2;
var _local3;
_local4 = (((((((("GameID=" + m_GameID) + ",FunctionType=") + FunctionType) + ",Score=") + m_ScoreData) + ",Title1=") + m_GameTitle) + ",ScoreDes=") + m_ScoreDes;
_local2 = encrypt(_local4);
_local3 = System.capabilities.playerType;
if ((_local3 == "PlugIn") || (_local3 == "ActiveX")) {
getURL (("JavaScript:openHiscore('/content/highscores/hs-connector.html?" + _local2) + "');");
} else {
getURL ("http://jp.shockwave.com/content/highscores/hs-connector.html?" + _local2);
}
}
function connectHighscoreTest(FunctionType) {
var _local3;
var _local2;
_local3 = (((((((("GameID=" + m_GameID) + ",FunctionType=") + FunctionType) + ",Score=") + m_ScoreData) + ",Title1=") + m_GameTitle) + ",ScoreDes=") + m_ScoreDes;
_local2 = encrypt(_local3);
return(_local2);
}
function encrypt(myText) {
var _local6 = "";
var _local3 = 0;
var _local5;
var _local7;
var _local2 = 0;
while (_local2 <= m_PassWord.length) {
if (_local2 == m_PassWord.length) {
_local3 = _local3 + 0;
} else {
_local3 = _local3 + m_PassWord.substr(_local2, 1).charCodeAt(0);
}
_local2++;
}
_local2 = 0;
while (_local2 <= myText.length) {
if (_local2 == myText.length) {
_local3 = _local3 + 0;
break;
}
_local5 = myText.substr(_local2, 1).charCodeAt(0) + _local3;
_local6 = _local6 + (_local5 + "_");
_local2++;
}
_local7 = _local6.substr(0, _local6.length - 1);
return(_local7);
}
static var FT_VIEW = "view";
static var FT_SUBMIT = "submit";
}
Symbol 3124 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.highscore.HeavyMetalGirlHighscore] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.highscore.HeavyMetalGirlHighscore extends com.shockwave.sys.HighscoreSystem
{
var m_GameTitle, m_GameID, m_ScoreDes, m_PassWord, m_ScoreData;
function HeavyMetalGirlHighscore () {
super();
m_GameTitle = "HMG";
m_GameID = "heavymetal";
m_ScoreDes = "points";
m_PassWord = "shockwave";
m_ScoreData = 0;
}
}
Symbol 3125 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageStart] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageStart extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowStageStart (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_STAGESTART, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(false);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageStart(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (((eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_TITLE) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE)) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT)) {
m_result = eventID;
}
}
}
Symbol 3126 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageStart] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageStart extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_count, m_mode, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_mc, m_context, m_wl, m_isWait, m_maskMC;
function MenuStageStart (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_count = 0;
m_mode = MODE_MENU_IN_TITLE;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, ("MenuStageStart" + (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getStageNum() + 1)) + "MC", "MenuStageStart", m_context.getBase());
m_mc._x = 0;
m_mc._y = 0;
m_mc._visible = true;
Key.addListener(this);
Mouse.addListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.append(this);
}
function move() {
switch (m_mode) {
case MODE_MENU_IN_TITLE :
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN, undefined);
m_mode = MODE_MENU_IN_TITLE_WAIT;
m_isWait = true;
break;
case MODE_MENU_IN_TITLE_WAIT :
if (!m_isWait) {
m_preFlow.destroy();
m_mode = MODE_MENU;
}
break;
case MODE_MENU :
m_mode = MODE_MENU_WAIT;
m_count = 0;
break;
case MODE_MENU_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (moveMenu()) {
m_maskMC = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME, false, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_SCREEN);
m_isWait = true;
m_mode = MODE_MENU_OUT;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
}
break;
case MODE_MENU_OUT :
if (!m_isWait) {
m_maskMC.attach();
m_mode = MODE_MENU_OUT_WAIT;
m_count = 0;
}
break;
case MODE_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME) {
m_maskMC.setAuto(true);
m_mc._visible = false;
m_mode = MODE_END;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN_END, undefined);
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveMenu() {
var _local2 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
if (m_checkMouseClick) {
_local2 = 0;
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_ENTER) {
_local2 = 0;
}
}
if (m_count >= MENU_AUTO_TIME) {
_local2 = 0;
}
return(_local2 != -1);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
function onKeyDown() {
var _local2 = Key.getCode();
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function onSceneGraphEvent(eventID, param) {
switch (eventID) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN_END :
m_isWait = false;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN :
m_isWait = false;
}
}
static var FADE_TIME = 1000;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var MODE_MENU_IN_TITLE = 0;
static var MODE_MENU_IN_TITLE_WAIT = 1;
static var MODE_MENU = 2;
static var MODE_MENU_WAIT = 3;
static var MODE_MENU_OUT = 4;
static var MODE_MENU_OUT_WAIT = 5;
static var MODE_END = 6;
static var IN_FALL_TIME = 300;
static var OUT_FALL_TIME = 300;
static var MENU_AUTO_TIME = 2000;
}
Symbol 3127 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameMain] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameMain extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowGameMain (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_GAME, preFlow);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.init(8, 8);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.setMapCollision(jp.bambooshootdesign.app.heavymetalgirl.data.Stage.getCollision(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getStageNum() + 1, jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getFloorNum() + 1));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Status.init(m_context);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.init(m_context);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.setScene(jp.bambooshootdesign.app.heavymetalgirl.data.Stage.getScene(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getStageNum() + 1, jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getFloorNum() + 1));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.init(m_context);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.setPosition(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2, jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT - 54);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.init(jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy.EM_MAX);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.EnemyGroup.reset();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.init(jp.bambooshootdesign.app.heavymetalgirl.enemy.Shot.SG_MAX);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.ShotGroup.reset();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Option.setGameQuality();
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(false);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameMain(m_context, this, preFlow);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.setSpeed(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate());
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.reset();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.move();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.move();
if (mode == m_mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Status.move();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.hitCheck();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.ctrl();
if (mode == m_mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.disp();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Status.disp();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.disp();
if (mode == m_mode) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.destroy();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Status.destroy();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Collision.destroy();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.destroy();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (((eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_TITLE) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE)) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT)) {
m_result = eventID;
}
}
}
Symbol 3128 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage () {
}
static function get SceneData() {
return([]);
}
static function get CollisionData() {
return([]);
}
static function getScene(stage, floor) {
return(getData(stage, floor).__get__SceneData());
}
static function getCollision(stage, floor) {
var _local4;
var _local3 = [];
var _local2;
_local4 = getData(stage, floor).CollisionData;
_local2 = _local4.length - 1;
while (_local2 >= 0) {
var _local1 = _local4[_local2];
if (_local1.type == "Floor") {
_local3.unshift(jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.createFloor(_local1.y, _local1.x, _local1.w, _local1.prev, _local1.next));
} else if (_local1.type == "Wall") {
_local3.unshift(jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.createWall(_local1.x, _local1.y, _local1.w, _local1.h, _local1.prev, _local1.next));
} else if (_local1.type == "Slope") {
_local3.unshift(jp.bambooshootdesign.app.heavymetalgirl.sys.CollisionData.createSlope(_local1.x, _local1.y, _local1.w, _local1.dir, _local1.prev, _local1.next));
}
_local2--;
}
return(_local3);
}
static function getData(stage, floor) {
var _local1;
switch (stage) {
case 1 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1.getData(floor);
break;
case 2 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2.getData(floor);
break;
case 3 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3.getData(floor);
break;
case 4 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4.getData(floor);
}
return(_local1);
}
}
Symbol 3129 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1
{
function Stage1 () {
}
static function getData(floor) {
var _local1;
switch (floor) {
case 1 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_01;
break;
case 2 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_02;
break;
case 3 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_03;
break;
case 4 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_04;
break;
case 5 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_05;
break;
case 6 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_06;
break;
case 7 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_07;
break;
case 8 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_08;
break;
case 9 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_09;
}
return(_local1);
}
}
Symbol 3130 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_01 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_01 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:1, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:32, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:320, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:192, prev:0, next:0}, {type:"Floor", y:380, x:288, w:64, prev:0, next:0}, {type:"Floor", y:380, x:448, w:192, prev:0, next:0}, {type:"Floor", y:300, x:0, w:128, prev:0, next:0}, {type:"Floor", y:300, x:256, w:128, prev:0, next:0}, {type:"Floor", y:300, x:512, w:128, prev:0, next:0}, {type:"Floor", y:220, x:0, w:128, prev:0, next:0}, {type:"Floor", y:220, x:224, w:192, prev:0, next:0}, {type:"Floor", y:220, x:512, w:128, prev:0, next:0}, {type:"Floor", y:140, x:160, w:320, prev:0, next:0}, {}];
}
Symbol 3131 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_02 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_02 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:2, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:512, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:160, w:320, prev:0, next:0}, {type:"Floor", y:316, x:0, w:128, prev:0, next:0}, {type:"Floor", y:300, x:192, w:256, prev:0, next:0}, {type:"Floor", y:316, x:512, w:128, prev:0, next:0}, {type:"Floor", y:220, x:224, w:192, prev:0, next:0}, {type:"Floor", y:140, x:64, w:192, prev:0, next:0}, {type:"Floor", y:140, x:384, w:192, prev:0, next:0}, {}];
}
Symbol 3132 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_03] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_03 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_03 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:3, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:480, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:128, prev:0, next:1}, {type:"Slope", y:460, x:128, w:96, dir:1, prev:-1, next:1}, {type:"Floor", y:364, x:224, w:192, prev:-1, next:1}, {type:"Slope", y:364, x:416, w:96, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:332, x:0, w:128, prev:0, next:0}, {type:"Floor", y:332, x:512, w:128, prev:0, next:0}, {type:"Floor", y:284, x:256, w:128, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:204, x:224, w:192, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:124, x:64, w:192, prev:0, next:0}, {type:"Floor", y:124, x:384, w:192, prev:0, next:0}, {}];
}
Symbol 3133 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_04] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_04 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_04 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:4, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:480, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:128, w:384, prev:-1, next:1}, {type:"Slope", y:428, x:512, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:364, x:0, w:96, prev:0, next:0}, {type:"Floor", y:348, x:192, w:256, prev:0, next:0}, {type:"Floor", y:364, x:544, w:96, prev:0, next:0}, {type:"Floor", y:284, x:64, w:96, prev:0, next:1}, {type:"Wall", y:284, x:160, w:32, h:96, prev:-1, next:0}, {type:"Wall", y:284, x:448, w:32, h:96, prev:0, next:1}, {type:"Floor", y:284, x:480, w:96, prev:-1, next:0}, {type:"Floor", y:204, x:0, w:64, prev:0, next:0}, {type:"Floor", y:204, x:256, w:128, prev:0, next:0}, {type:"Floor", y:204, x:576, w:64, prev:0, next:0}, {type:"Floor", y:124, x:64, w:192, prev:0, next:0}, {type:"Floor", y:124, x:384, w:192, prev:0, next:0}, {}];
}
Symbol 3134 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_05] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_05 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_05 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:5, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:224, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:416, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:96, prev:0, next:0}, {type:"Floor", y:348, x:192, w:96, prev:0, next:0}, {type:"Floor", y:348, x:352, w:96, prev:0, next:0}, {type:"Floor", y:380, x:544, w:96, prev:0, next:0}, {type:"Floor", y:300, x:64, w:96, prev:0, next:0}, {type:"Floor", y:300, x:480, w:96, prev:0, next:0}, {type:"Floor", y:220, x:0, w:96, prev:0, next:0}, {type:"Wall", y:188, x:160, w:32, h:192, prev:0, next:1}, {type:"Floor", y:188, x:192, w:64, prev:-1, next:0}, {type:"Floor", y:188, x:384, w:64, prev:0, next:1}, {type:"Wall", y:188, x:448, w:32, h:192, prev:-1, next:0}, {type:"Floor", y:220, x:544, w:96, prev:0, next:0}, {type:"Floor", y:140, x:0, w:96, prev:0, next:0}, {type:"Floor", y:140, x:544, w:96, prev:0, next:0}, {}];
}
Symbol 3135 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_06] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_06 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_06 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:6, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:0, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:192, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:64, w:576, prev:0, next:0}, {type:"Floor", y:300, x:0, w:576, prev:0, next:0}, {type:"Floor", y:220, x:64, w:576, prev:0, next:0}, {type:"Floor", y:140, x:0, w:576, prev:0, next:0}, {}];
}
Symbol 3136 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_07] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_07 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_07 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:7, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:448, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:160, prev:0, next:1}, {type:"Slope", y:460, x:160, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:224, w:192, prev:-1, next:1}, {type:"Slope", y:396, x:416, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:480, w:160, prev:-1, next:0}, {type:"Floor", y:380, x:0, w:64, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:128, w:160, prev:0, next:0}, {type:"Floor", y:300, x:352, w:160, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:128, w:384, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:64, prev:0, next:0}, {type:"Floor", y:140, x:128, w:160, prev:0, next:0}, {type:"Floor", y:140, x:352, w:160, prev:0, next:0}, {type:"Floor", y:140, x:576, w:64, prev:0, next:0}, {}];
}
Symbol 3137 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_08] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_08 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_08 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:8, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:8, time:120000}}, {type:"SOUND", action:"FadeOut", id:"Stage1", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage1", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:256, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:384, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:64, w:128, prev:0, next:1}, {type:"Slope", y:380, x:192, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:348, x:224, w:64, prev:-1, next:0}, {type:"Floor", y:348, x:352, w:64, prev:0, next:1}, {type:"Slope", y:348, x:416, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:380, x:448, w:128, prev:-1, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:224, w:64, prev:0, next:1}, {type:"Wall", y:220, x:288, w:64, h:160, prev:-1, next:1}, {type:"Floor", y:220, x:352, w:64, prev:-1, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:128, prev:0, next:0}, {type:"Floor", y:140, x:288, w:64, prev:0, next:0}, {type:"Floor", y:140, x:512, w:128, prev:0, next:0}, {}];
}
Symbol 3138 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_09] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage1_09 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage1_09 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:120000, loop:1}, {type:"TIME", time:105000, loop:2}, {type:"TIME", time:90000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:1, floor:9, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Boss", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Boss", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:32, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"Boss01", count:1, interval:0, param:{}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"SOUND", action:"FadeOut", id:"", time:1000}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:192, prev:0, next:1}, {type:"Slope", y:460, x:192, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:224, w:192, prev:-1, next:1}, {type:"Slope", y:428, x:416, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:448, w:192, prev:-1, next:0}, {type:"Floor", y:380, x:0, w:160, prev:0, next:0}, {type:"Floor", y:300, x:160, w:480, prev:0, next:0}, {type:"Floor", y:220, x:0, w:160, prev:0, next:0}, {type:"Floor", y:220, x:320, w:128, prev:0, next:0}, {type:"Floor", y:140, x:192, w:192, prev:0, next:0}, {}];
}
Symbol 3139 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2
{
function Stage2 () {
}
static function getData(floor) {
var _local1;
switch (floor) {
case 1 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_01;
break;
case 2 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_02;
break;
case 3 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_03;
break;
case 4 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_04;
break;
case 5 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_05;
break;
case 6 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_06;
break;
case 7 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_07;
break;
case 8 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_08;
break;
case 9 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_09;
}
return(_local1);
}
}
Symbol 3140 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_01 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_01 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:1, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:480, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:448, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:224, prev:0, next:1}, {type:"Slope", y:460, x:224, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:256, w:128, prev:-1, next:1}, {type:"Slope", y:428, x:384, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:416, w:224, prev:-1, next:0}, {type:"Floor", y:380, x:0, w:192, prev:0, next:0}, {type:"Floor", y:380, x:448, w:192, prev:0, next:0}, {type:"Floor", y:300, x:96, w:192, prev:0, next:0}, {type:"Floor", y:300, x:352, w:192, prev:0, next:0}, {type:"Floor", y:220, x:0, w:192, prev:0, next:0}, {type:"Floor", y:220, x:448, w:192, prev:0, next:0}, {type:"Floor", y:140, x:160, w:320, prev:0, next:0}, {}];
}
Symbol 3141 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_02 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_02 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:2, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:224, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:416, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:17, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:160, w:32, prev:-1, next:1}, {type:"Slope", y:396, x:192, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:364, x:224, w:192, prev:-1, next:1}, {type:"Slope", y:364, x:416, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:396, x:448, w:32, prev:-1, next:1}, {type:"Slope", y:396, x:480, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:268, x:64, w:96, prev:0, next:0}, {type:"Floor", y:284, x:256, w:128, prev:0, next:0}, {type:"Floor", y:268, x:480, w:96, prev:0, next:0}, {type:"Wall", y:204, x:160, w:32, h:96, prev:0, next:1}, {type:"Floor", y:204, x:192, w:96, prev:-1, next:0}, {type:"Floor", y:204, x:352, w:96, prev:0, next:1}, {type:"Wall", y:204, x:448, w:32, h:96, prev:-1, next:0}, {type:"Floor", y:140, x:0, w:96, prev:0, next:0}, {type:"Floor", y:140, x:544, w:96, prev:0, next:0}, {}];
}
Symbol 3142 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_03] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_03 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_03 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:3, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:480, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:592, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:64, prev:0, next:1}, {type:"Slope", y:460, x:64, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:128, w:64, prev:-1, next:1}, {type:"Slope", y:396, x:192, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:428, x:224, w:192, prev:-1, next:1}, {type:"Slope", y:428, x:416, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:448, w:64, prev:-1, next:1}, {type:"Slope", y:396, x:512, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:576, w:64, prev:-1, next:0}, {type:"Floor", y:316, x:128, w:128, prev:0, next:0}, {type:"Floor", y:316, x:384, w:128, prev:0, next:0}, {type:"Floor", y:236, x:64, w:96, prev:0, next:0}, {type:"Floor", y:236, x:480, w:96, prev:0, next:0}, {type:"Floor", y:156, x:0, w:288, prev:0, next:0}, {type:"Floor", y:156, x:352, w:288, prev:0, next:0}, {}];
}
Symbol 3143 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_04] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_04 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_04 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:4, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:224, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:400, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:592, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:112, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:192, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:160, w:96, prev:-1, next:1}, {type:"Slope", y:396, x:256, w:96, dir:1, prev:-1, next:1}, {type:"Floor", y:300, x:352, w:96, prev:-1, next:1}, {type:"Slope", y:300, x:448, w:96, dir:1, prev:-1, next:1}, {type:"Floor", y:204, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:316, x:0, w:192, prev:0, next:0}, {type:"Floor", y:220, x:0, w:384, prev:0, next:0}, {}];
}
Symbol 3144 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_05] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_05 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_05 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:5, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:17, x:448, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:160, w:64, prev:-1, next:1}, {type:"Slope", y:396, x:224, w:64, dir:1, prev:-1, next:0}, {type:"Slope", y:332, x:352, w:64, dir:-1, prev:0, next:1}, {type:"Floor", y:396, x:416, w:64, prev:-1, next:1}, {type:"Slope", y:396, x:480, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:380, x:0, w:64, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:64, prev:0, next:0}, {type:"Floor", y:140, x:128, w:160, prev:0, next:1}, {type:"Wall", y:140, x:288, w:64, h:224, prev:-1, next:1}, {type:"Floor", y:140, x:352, w:160, prev:-1, next:0}, {type:"Floor", y:140, x:576, w:64, prev:0, next:0}, {}];
}
Symbol 3145 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_06] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_06 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_06 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:6, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:192, w:256, prev:0, next:0}, {type:"Floor", y:300, x:0, w:96, prev:0, next:0}, {type:"Floor", y:300, x:160, w:64, prev:0, next:0}, {type:"Floor", y:300, x:288, w:64, prev:0, next:0}, {type:"Floor", y:300, x:416, w:64, prev:0, next:0}, {type:"Floor", y:300, x:544, w:96, prev:0, next:0}, {type:"Floor", y:156, x:0, w:96, prev:0, next:1}, {type:"Slope", y:156, x:96, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:220, x:160, w:96, prev:-1, next:0}, {type:"Floor", y:220, x:384, w:96, prev:0, next:1}, {type:"Slope", y:220, x:480, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:156, x:544, w:96, prev:-1, next:0}, {}];
}
Symbol 3146 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_07] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_07 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_07 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:7, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:592, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:18, x:592, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:288, prev:0, next:0}, {type:"Floor", y:460, x:352, w:288, prev:0, next:0}, {type:"Floor", y:380, x:0, w:96, prev:0, next:0}, {type:"Floor", y:380, x:160, w:64, prev:0, next:0}, {type:"Floor", y:380, x:416, w:64, prev:0, next:0}, {type:"Floor", y:380, x:544, w:96, prev:0, next:0}, {type:"Floor", y:300, x:0, w:96, prev:0, next:0}, {type:"Floor", y:300, x:160, w:64, prev:0, next:0}, {type:"Floor", y:300, x:416, w:64, prev:0, next:0}, {type:"Floor", y:300, x:544, w:96, prev:0, next:0}, {type:"Floor", y:220, x:0, w:96, prev:0, next:0}, {type:"Floor", y:220, x:160, w:64, prev:0, next:0}, {type:"Floor", y:220, x:416, w:64, prev:0, next:0}, {type:"Floor", y:220, x:544, w:96, prev:0, next:0}, {type:"Floor", y:140, x:0, w:96, prev:0, next:0}, {type:"Floor", y:140, x:160, w:64, prev:0, next:0}, {type:"Wall", y:140, x:288, w:64, h:352}, {type:"Floor", y:140, x:416, w:64, prev:0, next:0}, {type:"Floor", y:140, x:544, w:96, prev:0, next:0}, {}];
}
Symbol 3147 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_08] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_08 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_08 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:8, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage2", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage2", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:256, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:384, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:64, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:576, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:288, prev:0, next:0}, {type:"Floor", y:460, x:352, w:288, prev:0, next:0}, {type:"Floor", y:380, x:0, w:192, prev:0, next:0}, {type:"Floor", y:380, x:448, w:192, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:128, w:160, prev:0, next:1}, {type:"Wall", y:300, x:288, w:64, h:192, prev:-1, next:1}, {type:"Floor", y:300, x:352, w:160, prev:-1, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:64, w:512, prev:0, next:0}, {type:"Floor", y:140, x:0, w:192, prev:0, next:0}, {type:"Floor", y:140, x:448, w:192, prev:0, next:0}, {}];
}
Symbol 3148 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_09] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage2_09 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage2_09 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:150000, loop:1}, {type:"TIME", time:130000, loop:2}, {type:"TIME", time:110000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:2, floor:9, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Boss", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Boss", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"Boss02", count:1, interval:0, param:{}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"SOUND", action:"FadeOut", id:"", time:1000}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:160, w:320, prev:-1, next:1}, {type:"Slope", y:396, x:480, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:316, x:0, w:160, prev:0, next:0}, {type:"Floor", y:316, x:480, w:160, prev:0, next:0}, {type:"Floor", y:236, x:0, w:160, prev:0, next:0}, {type:"Floor", y:236, x:480, w:160, prev:0, next:0}, {type:"Floor", y:156, x:0, w:160, prev:0, next:0}, {type:"Floor", y:156, x:480, w:160, prev:0, next:0}, {}];
}
Symbol 3149 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3
{
function Stage3 () {
}
static function getData(floor) {
var _local1;
switch (floor) {
case 1 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_01;
break;
case 2 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_02;
break;
case 3 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_03;
break;
case 4 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_04;
break;
case 5 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_05;
break;
case 6 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_06;
break;
case 7 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_07;
break;
case 8 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_08;
break;
case 9 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_09;
}
return(_local1);
}
}
Symbol 3150 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_01 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_01 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:1, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:1, time:5}, ATTACK_PLAYER:{freq:0, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:1, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:0, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:576, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:160, prev:0, next:0}, {type:"Floor", y:460, x:192, w:448, prev:0, next:0}, {type:"Wall", y:380, x:160, w:32, h:112, prev:0, next:1}, {type:"Floor", y:380, x:192, w:288, prev:-1, next:0}, {type:"Floor", y:380, x:512, w:64, prev:0, next:0}, {type:"Floor", y:300, x:96, w:128, prev:0, next:0}, {type:"Floor", y:300, x:288, w:192, prev:0, next:1}, {type:"Wall", y:300, x:480, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:1}, {type:"Wall", y:220, x:64, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:220, x:160, w:256, prev:0, next:0}, {type:"Floor", y:220, x:512, w:128, prev:0, next:0}, {type:"Floor", y:140, x:0, w:352, prev:0, next:0}, {type:"Wall", y:140, x:416, w:32, h:112, prev:0, next:1}, {type:"Floor", y:140, x:448, w:192, prev:-1, next:0}, {}];
}
Symbol 3151 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_02 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_02 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:2, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:512, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:160, w:320, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:96, w:32, prev:0, next:1}, {type:"Wall", y:300, x:128, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:300, x:288, w:192, prev:0, next:1}, {type:"Wall", y:300, x:480, w:32, h:112, prev:-1, next:1}, {type:"Floor", y:300, x:512, w:64, prev:-1, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:1}, {type:"Wall", y:220, x:64, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:220, x:288, w:128, prev:0, next:0}, {type:"Floor", y:220, x:512, w:128, prev:0, next:0}, {type:"Floor", y:140, x:64, w:192, prev:0, next:1}, {type:"Wall", y:140, x:256, w:32, h:192, prev:-1, next:1}, {type:"Floor", y:140, x:288, w:64, prev:-1, next:0}, {type:"Wall", y:140, x:416, w:32, h:112, prev:0, next:1}, {type:"Floor", y:140, x:448, w:128, prev:-1, next:0}, {}];
}
Symbol 3152 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_03] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_03 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_03 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:3, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:32, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:416, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:256, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:432, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:17, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:21, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:64, prev:0, next:0}, {type:"Floor", y:460, x:96, w:544, prev:0, next:0}, {type:"Wall", y:380, x:64, w:32, h:112, prev:0, next:1}, {type:"Floor", y:380, x:96, w:32, prev:-1, next:0}, {type:"Floor", y:380, x:160, w:64, prev:0, next:0}, {type:"Floor", y:380, x:288, w:160, prev:0, next:0}, {type:"Floor", y:380, x:480, w:96, prev:0, next:0}, {type:"Wall", y:300, x:128, w:32, h:112, prev:0, next:1}, {type:"Floor", y:300, x:160, w:32, prev:-1, next:0}, {type:"Floor", y:300, x:224, w:64, prev:0, next:0}, {type:"Floor", y:300, x:384, w:64, prev:0, next:1}, {type:"Wall", y:300, x:448, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:300, x:544, w:96, prev:0, next:0}, {type:"Floor", y:220, x:0, w:128, prev:0, next:0}, {type:"Wall", y:220, x:192, w:32, h:112, prev:0, next:1}, {type:"Floor", y:220, x:224, w:32, prev:-1, next:0}, {type:"Floor", y:220, x:384, w:192, prev:0, next:0}, {type:"Floor", y:140, x:0, w:192, prev:0, next:0}, {type:"Wall", y:140, x:256, w:32, h:112, prev:0, next:1}, {type:"Floor", y:140, x:288, w:64, prev:-1, next:1}, {type:"Wall", y:140, x:352, w:32, h:192, prev:-1, next:0}, {type:"Floor", y:140, x:448, w:192, prev:0, next:0}, {}];
}
Symbol 3153 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_04] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_04 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_04 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:4, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:256, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:384, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:64, prev:0, next:0}, {type:"Floor", y:380, x:160, w:320, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:160, w:256, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:224, w:256, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:64, prev:0, next:0}, {type:"Wall", y:140, x:128, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:160, w:256, prev:-1, next:0}, {type:"Wall", y:140, x:480, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:576, w:64, prev:0, next:0}, {}];
}
Symbol 3154 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_05] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_05 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_05 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:5, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:96, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:544, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:352, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:288, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:10, x:96, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:544, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:128, prev:0, next:0}, {type:"Floor", y:380, x:256, w:64, prev:0, next:0}, {type:"Floor", y:380, x:512, w:128, prev:0, next:0}, {type:"Floor", y:300, x:64, w:64, prev:0, next:0}, {type:"Floor", y:300, x:320, w:64, prev:0, next:0}, {type:"Floor", y:300, x:512, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:256, w:64, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:64, w:64, prev:0, next:1}, {type:"Wall", y:140, x:128, w:32, h:272, prev:-1, next:0}, {type:"Wall", y:140, x:224, w:32, h:272, prev:0, next:0}, {type:"Floor", y:140, x:320, w:64, prev:0, next:1}, {type:"Wall", y:140, x:384, w:32, h:272, prev:-1, next:0}, {type:"Wall", y:140, x:480, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:512, w:64, prev:-1, next:0}, {}];
}
Symbol 3155 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_06] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_06 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_06 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:6, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:192, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:448, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:112, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:528, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:256, w:128, prev:0, next:0}, {type:"Floor", y:300, x:96, w:128, prev:0, next:0}, {type:"Floor", y:300, x:256, w:128, prev:0, next:0}, {type:"Floor", y:300, x:416, w:128, prev:0, next:0}, {type:"Floor", y:220, x:160, w:64, prev:0, next:0}, {type:"Floor", y:220, x:256, w:128, prev:0, next:0}, {type:"Floor", y:220, x:416, w:64, prev:0, next:0}, {type:"Wall", y:140, x:64, w:32, h:192, prev:0, next:1}, {type:"Floor", y:140, x:96, w:64, prev:-1, next:0}, {type:"Wall", y:140, x:224, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:256, w:32, prev:-1, next:0}, {type:"Floor", y:140, x:352, w:32, prev:0, next:1}, {type:"Wall", y:140, x:384, w:32, h:272, prev:-1, next:0}, {type:"Floor", y:140, x:480, w:64, prev:0, next:1}, {type:"Wall", y:140, x:544, w:32, h:192, prev:-1, next:0}, {}];
}
Symbol 3156 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_07] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_07 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_07 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:7, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:0, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:224, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:0, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:416, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:208, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:432, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:64, prev:0, next:0}, {type:"Floor", y:380, x:192, w:352, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:224, w:224, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Wall", y:220, x:160, w:32, h:192, prev:0, next:1}, {type:"Floor", y:220, x:192, w:256, prev:-1, next:1}, {type:"Wall", y:220, x:448, w:32, h:112, prev:-1, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:64, prev:0, next:1}, {type:"Wall", y:140, x:64, w:32, h:272, prev:-1, next:1}, {type:"Floor", y:140, x:96, w:384, prev:-1, next:0}, {type:"Wall", y:140, x:544, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:576, w:64, prev:-1, next:0}, {}];
}
Symbol 3157 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_08] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_08 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_08 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:8, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage3", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage3", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:2, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:3, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:4, x:512, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:10, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:512, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:256, prev:0, next:0}, {type:"Floor", y:380, x:384, w:256, prev:0, next:0}, {type:"Floor", y:300, x:0, w:192, prev:0, next:0}, {type:"Floor", y:300, x:448, w:192, prev:0, next:0}, {type:"Floor", y:220, x:64, w:192, prev:0, next:0}, {type:"Floor", y:220, x:384, w:192, prev:0, next:0}, {type:"Floor", y:140, x:0, w:256, prev:0, next:1}, {type:"Wall", y:140, x:256, w:32, h:272, prev:-1, next:0}, {type:"Wall", y:140, x:352, w:32, h:272, prev:0, next:1}, {type:"Floor", y:140, x:384, w:256, prev:-1, next:0}, {}];
}
Symbol 3158 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_09] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage3_09 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage3_09 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:180000, loop:1}, {type:"TIME", time:160000, loop:2}, {type:"TIME", time:140000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:3, floor:9, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Boss", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Boss", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"Boss03", count:1, interval:0, param:{}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"SOUND", action:"FadeOut", id:"", time:1000}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:224, prev:0, next:0}, {type:"Floor", y:460, x:256, w:128, prev:0, next:0}, {type:"Floor", y:460, x:416, w:224, prev:0, next:0}, {type:"Floor", y:380, x:64, w:160, prev:0, next:1}, {type:"Wall", y:380, x:224, w:32, h:112, prev:-1, next:0}, {type:"Wall", y:380, x:384, w:32, h:112, prev:0, next:1}, {type:"Floor", y:380, x:416, w:160, prev:-1, next:0}, {type:"Floor", y:300, x:64, w:128, prev:0, next:0}, {type:"Floor", y:300, x:448, w:128, prev:0, next:0}, {type:"Floor", y:220, x:64, w:128, prev:0, next:0}, {type:"Floor", y:220, x:448, w:128, prev:0, next:0}, {}];
}
Symbol 3159 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4
{
function Stage4 () {
}
static function getData(floor) {
var _local1;
switch (floor) {
case 1 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_01;
break;
case 2 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_02;
break;
case 3 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_03;
break;
case 4 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_04;
break;
case 5 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_05;
break;
case 6 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_06;
break;
case 7 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_07;
break;
case 8 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_08;
break;
case 9 :
_local1 = jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_09;
}
return(_local1);
}
}
Symbol 3160 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_01] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_01 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_01 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:1, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:592, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:22, x:592, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:23, x:48, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:29, x:592, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:128, prev:0, next:1}, {type:"Slope", y:460, x:128, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:160, w:64, prev:-1, next:1}, {type:"Slope", y:428, x:224, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:256, w:128, prev:-1, next:1}, {type:"Slope", y:460, x:384, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:416, w:64, prev:-1, next:1}, {type:"Slope", y:428, x:480, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:316, x:0, w:64, prev:0, next:1}, {type:"Slope", y:316, x:64, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:348, x:96, w:64, prev:-1, next:0}, {type:"Floor", y:348, x:224, w:192, prev:0, next:0}, {type:"Floor", y:348, x:480, w:64, prev:0, next:1}, {type:"Slope", y:348, x:544, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:316, x:576, w:64, prev:-1, next:0}, {type:"Floor", y:236, x:0, w:64, prev:0, next:1}, {type:"Slope", y:236, x:64, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:268, x:96, w:64, prev:-1, next:0}, {type:"Floor", y:268, x:224, w:192, prev:0, next:0}, {type:"Floor", y:268, x:480, w:64, prev:0, next:1}, {type:"Slope", y:268, x:544, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:236, x:576, w:64, prev:-1, next:0}, {type:"Floor", y:156, x:0, w:64, prev:0, next:1}, {type:"Slope", y:156, x:64, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:188, x:96, w:64, prev:-1, next:0}, {type:"Floor", y:188, x:224, w:192, prev:0, next:0}, {type:"Floor", y:188, x:480, w:64, prev:0, next:1}, {type:"Slope", y:188, x:544, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:156, x:576, w:64, prev:-1, next:0}, {}];
}
Symbol 3161 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_02] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_02 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_02 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:2, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:576, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:576, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:18, x:320, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:22, x:576, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:128, prev:0, next:1}, {type:"Slope", y:460, x:128, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:160, w:160, prev:-1, next:1}, {type:"Slope", y:428, x:320, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:352, w:64, prev:-1, next:1}, {type:"Slope", y:396, x:416, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:480, w:160, prev:-1, next:0}, {type:"Floor", y:316, x:0, w:96, prev:0, next:1}, {type:"Slope", y:316, x:96, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:284, x:128, w:128, prev:-1, next:1}, {type:"Slope", y:284, x:256, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:316, x:288, w:64, prev:-1, next:0}, {type:"Floor", y:316, x:416, w:64, prev:0, next:1}, {type:"Slope", y:316, x:480, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:348, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:172, x:0, w:96, prev:0, next:1}, {type:"Slope", y:172, x:96, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:204, x:128, w:32, prev:-1, next:0}, {type:"Floor", y:204, x:224, w:96, prev:0, next:1}, {type:"Slope", y:204, x:320, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:236, x:352, w:64, prev:-1, next:1}, {type:"Slope", y:236, x:416, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:172, x:480, w:160, prev:-1, next:0}, {}];
}
Symbol 3162 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_03] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_03 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_03 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:3, color:{ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:240, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:0, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:400, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:128, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:17, x:512, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:316, x:0, w:64, prev:0, next:1}, {type:"Slope", y:316, x:64, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:380, x:128, w:160, prev:-1, next:0}, {type:"Floor", y:380, x:352, w:160, prev:0, next:1}, {type:"Slope", y:380, x:512, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:316, x:576, w:64, prev:-1, next:0}, {type:"Floor", y:236, x:64, w:64, prev:0, next:1}, {type:"Slope", y:236, x:128, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:300, x:192, w:256, prev:-1, next:1}, {type:"Slope", y:300, x:448, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:236, x:512, w:64, prev:-1, next:0}, {type:"Floor", y:156, x:0, w:192, prev:0, next:1}, {type:"Slope", y:156, x:192, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:220, x:256, w:32, prev:-1, next:0}, {type:"Floor", y:220, x:352, w:32, prev:0, next:1}, {type:"Slope", y:220, x:384, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:156, x:448, w:192, prev:-1, next:0}, {}];
}
Symbol 3163 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_04] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_04 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_04 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:4, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:17, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom02", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:21, x:480, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:256, prev:0, next:1}, {type:"Slope", y:460, x:256, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:428, x:288, w:64, prev:-1, next:1}, {type:"Slope", y:428, x:352, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:384, w:256, prev:-1, next:0}, {type:"Floor", y:348, x:0, w:128, prev:0, next:1}, {type:"Slope", y:348, x:128, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:380, x:160, w:64, prev:-1, next:0}, {type:"Floor", y:348, x:288, w:64, prev:0, next:0}, {type:"Floor", y:380, x:416, w:64, prev:0, next:1}, {type:"Slope", y:380, x:480, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:348, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:268, x:0, w:64, prev:0, next:0}, {type:"Floor", y:268, x:256, w:128, prev:0, next:0}, {type:"Floor", y:268, x:576, w:64, prev:0, next:0}, {type:"Floor", y:188, x:0, w:64, prev:0, next:0}, {type:"Floor", y:188, x:576, w:64, prev:0, next:0}, {type:"Floor", y:124, x:128, w:64, prev:0, next:1}, {type:"Slope", y:124, x:192, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:188, x:256, w:128, prev:-1, next:1}, {type:"Slope", y:188, x:384, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:124, x:448, w:64, prev:-1, next:0}, {}];
}
Symbol 3164 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_05] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_05 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_05 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:5, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:8, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:9, x:112, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:528, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:192, dir:1, prev:-1, next:1}, {type:"Floor", y:268, x:288, w:64, prev:-1, next:1}, {type:"Slope", y:268, x:352, w:192, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:300, x:0, w:96, prev:0, next:0}, {type:"Floor", y:300, x:544, w:96, prev:0, next:0}, {type:"Floor", y:220, x:0, w:96, prev:0, next:0}, {type:"Floor", y:220, x:544, w:96, prev:0, next:0}, {type:"Floor", y:124, x:64, w:96, prev:0, next:1}, {type:"Slope", y:124, x:160, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:188, x:224, w:64, prev:-1, next:0}, {type:"Floor", y:188, x:352, w:64, prev:0, next:1}, {type:"Slope", y:188, x:416, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:124, x:480, w:96, prev:-1, next:0}, {}];
}
Symbol 3165 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_06] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_06 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_06 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:6, color:{ra:70, rb:77, ga:70, gb:31, ba:70, bb:0, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:5, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:14, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:15, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:16, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:96, prev:0, next:1}, {type:"Slope", y:460, x:96, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:396, x:160, w:320, prev:-1, next:1}, {type:"Slope", y:396, x:480, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:544, w:96, prev:-1, next:0}, {type:"Floor", y:284, x:0, w:128, prev:0, next:1}, {type:"Slope", y:284, x:128, w:32, dir:-1, prev:-1, next:1}, {type:"Floor", y:316, x:160, w:64, prev:-1, next:0}, {type:"Floor", y:284, x:288, w:64, prev:0, next:0}, {type:"Floor", y:316, x:416, w:64, prev:0, next:1}, {type:"Slope", y:316, x:480, w:32, dir:1, prev:-1, next:1}, {type:"Floor", y:284, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:204, x:0, w:64, prev:0, next:0}, {type:"Floor", y:204, x:288, w:64, prev:0, next:0}, {type:"Floor", y:204, x:576, w:64, prev:0, next:0}, {type:"Floor", y:124, x:0, w:288, prev:0, next:0}, {type:"Floor", y:124, x:352, w:288, prev:0, next:0}, {}];
}
Symbol 3166 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_07] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_07 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_07 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:7, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:1, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:6, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:7, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:608, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:13, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Decoi01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:10, time:5}, BLOCK_LEFT:{freq:10, time:5}, BLOCK_RIGHT:{freq:10, time:5}, BLOCK_UP:{freq:10, time:5}, BLOCK_DOWN:{freq:10, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:10, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:18, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:192, prev:0, next:1}, {type:"Slope", y:380, x:192, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:316, x:256, w:32, prev:-1, next:0}, {type:"Floor", y:316, x:352, w:32, prev:0, next:1}, {type:"Slope", y:316, x:384, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:380, x:448, w:192, prev:-1, next:0}, {type:"Floor", y:300, x:0, w:128, prev:0, next:1}, {type:"Slope", y:300, x:128, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:236, x:192, w:32, prev:-1, next:0}, {type:"Floor", y:236, x:416, w:32, prev:0, next:1}, {type:"Slope", y:236, x:448, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:300, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:1}, {type:"Slope", y:220, x:64, w:64, dir:1, prev:-1, next:1}, {type:"Floor", y:156, x:128, w:32, prev:-1, next:0}, {type:"Floor", y:156, x:480, w:32, prev:0, next:1}, {type:"Slope", y:156, x:512, w:64, dir:-1, prev:-1, next:1}, {type:"Floor", y:220, x:576, w:64, prev:-1, next:0}, {}];
}
Symbol 3167 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_08] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_08 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_08 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:60000, loop:1}, {type:"TIME", time:45000, loop:2}, {type:"TIME", time:30000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:8, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"SOUND", action:"FadeOut", id:"Stage4", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"Stage4", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:64, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"ENEMY", id:"PlaceEnemy01", param:{enemylist:[{type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:32, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:96, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:11, x:160, y:20}, end:[]}, {type:"ENEMY", id:"Phantom01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:480, y:20}, end:[]}, {type:"ENEMY", id:"Spider01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:544, y:20}, end:[]}, {type:"ENEMY", id:"Robo01", count:1, interval:0, param:{action:{STOP:{freq:0, time:5}, STROLL:{freq:0, time:5}, BLOCK_LEFT:{freq:0, time:5}, BLOCK_RIGHT:{freq:0, time:5}, BLOCK_UP:{freq:0, time:5}, BLOCK_DOWN:{freq:0, time:5}, ATTACK_LEFT:{freq:0, time:5}, ATTACK_RIGHT:{freq:0, time:5}, ATTACK_PLAYER:{freq:20, time:5}, SEARCH_PLAYER:{freq:20, time:10}, RUN_AWAY:{freq:0, time:5}, END:{}}, event:true, end:[]}, mode:"IN", modeParam:{idx:12, x:608, y:20}, end:[]}]}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:128, prev:0, next:1}, {type:"Slope", y:460, x:128, w:160, dir:1, prev:-1, next:1}, {type:"Floor", y:300, x:288, w:64, prev:-1, next:1}, {type:"Slope", y:300, x:352, w:160, dir:-1, prev:-1, next:1}, {type:"Floor", y:460, x:512, w:128, prev:-1, next:0}, {type:"Floor", y:380, x:0, w:64, prev:0, next:0}, {type:"Floor", y:380, x:576, w:64, prev:0, next:0}, {type:"Floor", y:300, x:0, w:64, prev:0, next:0}, {type:"Floor", y:300, x:576, w:64, prev:0, next:0}, {type:"Floor", y:220, x:0, w:64, prev:0, next:0}, {type:"Floor", y:220, x:576, w:64, prev:0, next:0}, {type:"Floor", y:140, x:0, w:288, prev:0, next:0}, {type:"Floor", y:140, x:352, w:288, prev:0, next:0}, {}];
}
Symbol 3168 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_09] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.data.Stage4_09 extends jp.bambooshootdesign.app.heavymetalgirl.data.Stage
{
function Stage4_09 () {
super();
}
static function get SceneData() {
return(stagedata);
}
static function get CollisionData() {
return(collisiondata);
}
static var stagedata = [{type:"LEVEL", loop:1, level:1}, {type:"LEVEL", loop:2, level:2}, {type:"LEVEL", loop:3, level:3}, {type:"TIME", time:210000, loop:1}, {type:"TIME", time:190000, loop:2}, {type:"TIME", time:170000, loop:3}, {type:"PLAYER", action:"Hide", param:{}}, {type:"ENEMY", id:"StageController", count:1, interval:0, param:{}}, {type:"ENEMY", id:"StageBackGround", count:1, interval:0, param:{stage:4, floor:9, color:{ra:50, rb:0, ga:50, gb:0, ba:50, bb:51, aa:100, ab:0}}}, {type:"ENEMY", id:"Boss04", count:1, interval:0, param:{}}, {type:"SOUND", action:"FadeOut", id:"LastBoss", time:500}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START}, {type:"SOUND", action:"PlayMusic", id:"LastBoss", mode:"DIFFERENT"}, {type:"PLAYER", action:"Show", param:{}}, {type:"PLAYER", action:"In", param:{idx:0, x:320, sx:0}}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_PLAYER_IN}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_ENEMY_IN}, {type:"ENEMY", id:"GameStart", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1000}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_START}, {type:"PLAYER", action:"Unlock"}, {type:"FRAME", flag:"ON"}, {type:"LABEL", name:"START"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER, name:"GAMEOVER"}, {type:"BRANCHEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_CLEAR, name:"STAGECLEAR"}, {type:"WAIT", time:0}, {type:"LOOP", name:"START"}, {type:"LABEL", name:"GAMEOVER"}, {type:"FRAME", flag:"OFF"}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"LABEL", name:"STAGECLEAR"}, {type:"FRAME", flag:"OFF"}, {type:"SOUND", action:"FadeOut", id:"", time:1000}, {type:"ENEMY", id:"RestTimeBonusController", count:1, interval:0, param:{time:1000}}, {type:"WAIT", time:1100}, {type:"SENDEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH}, {type:"WAITEVENT", id:jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_END}, {type:"WAIT", time:50000}, {type:"WAIT", time:2000}, {type:"LOOP", name:"START"}];
static var collisiondata = [{type:"Floor", y:460, x:0, w:640, prev:0, next:0}, {type:"Floor", y:380, x:0, w:256, prev:0, next:0}, {type:"Floor", y:380, x:384, w:256, prev:0, next:0}, {type:"Floor", y:300, x:0, w:192, prev:0, next:0}, {type:"Floor", y:300, x:448, w:192, prev:0, next:0}, {type:"Floor", y:220, x:0, w:160, prev:0, next:0}, {type:"Floor", y:220, x:480, w:160, prev:0, next:0}, {}];
}
Symbol 3169 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameMain] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameMain extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_mode, m_count, m_wl, m_context, m_isWait, m_eventID, m_mcMaskGameOver;
function MenuGameMain (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
switch (m_preFlow.getMode()) {
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_TITLE :
m_mode = MODE_GAME_IN_TITLE;
break;
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_STAGESTART :
m_mode = MODE_GAME_IN_STAGESTART;
break;
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_GAMEOVER :
m_mode = MODE_GAME_IN_GAMEOVER;
break;
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_FLOORCLEAR :
m_mode = MODE_GAME_IN_FLOORCLEAR;
break;
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_STAGECLEAR :
m_mode = MODE_GAME_IN_STAGECLEAR;
break;
case jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_GAMECLEAR :
m_mode = MODE_GAME_IN_GAMECLEAR;
}
m_count = 0;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
switch (m_mode) {
case MODE_GAME_IN_TITLE :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_TITLE_WAIT;
break;
case MODE_GAME_IN_TITLE_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_IN_STAGESTART :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_STAGESTART_WAIT;
break;
case MODE_GAME_IN_STAGESTART_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_IN_GAMEOVER :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_GAMEOVER_WAIT;
break;
case MODE_GAME_IN_GAMEOVER_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_IN_FLOORCLEAR :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_FLOORCLEAR_WAIT;
break;
case MODE_GAME_IN_FLOORCLEAR_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_IN_STAGECLEAR :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_STAGECLEAR_WAIT;
break;
case MODE_GAME_IN_STAGECLEAR_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_IN_GAMECLEAR :
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN, undefined);
m_mode = MODE_GAME_IN_GAMECLEAR_WAIT;
break;
case MODE_GAME_IN_GAMECLEAR_WAIT :
if (!m_isWait) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_START, undefined);
m_mode = MODE_GAME_NOW;
}
break;
case MODE_GAME_NOW :
m_preFlow.destroy();
m_mode = MODE_GAME_NOW_WAIT;
m_isWait = true;
break;
case MODE_GAME_NOW_WAIT :
if (!m_isWait) {
if (m_eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER) {
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
m_mcMaskGameOver = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskGameOver(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), _local2.x, _local2.y + 16, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAMEOVER_TIME, false, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMCDepth());
m_isWait = true;
m_nowFlow.event(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_GAMEOVER);
m_mode = MODE_GAME_END_GAMEOVER;
} else if (m_eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH) {
m_isWait = true;
m_nowFlow.event(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_STAGECLEAR);
m_mode = MODE_GAME_END_GAMECLEAR;
}
}
break;
case MODE_GAME_END_GAMEOVER :
var _local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
if (!m_isWait) {
m_mcMaskGameOver.attach();
m_mode = MODE_GAME_END_GAMEOVER_WAIT;
m_count = 0;
}
m_mcMaskGameOver.setPosition(_local2.x, _local2.y + 16);
break;
case MODE_GAME_END_GAMEOVER_WAIT :
_local2 = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.Player.getPosition();
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAMEOVER_TIME) {
m_mode = MODE_END;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAMEOVER_IN_END, undefined);
}
m_mcMaskGameOver.setPosition(_local2.x, _local2.y + 16);
break;
case MODE_GAME_END_GAMECLEAR :
m_mode = MODE_GAME_END_GAMECLEAR_WAIT;
break;
case MODE_GAME_END_GAMECLEAR_WAIT :
if (!m_isWait) {
m_mode = MODE_END;
}
break;
case MODE_GAME_END_WAIT :
break;
case MODE_END :
}
return(true);
}
function ctrl() {
return(true);
}
function disp() {
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
function onSceneGraphEvent(eventID, param) {
switch (eventID) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_GAME_OVER :
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_STAGE_FINISH :
m_isWait = false;
m_eventID = eventID;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAMEOVER_IN :
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN_END :
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_FLOORCLEAR_IN_END :
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STAGECLEAR_IN_END :
m_isWait = false;
}
}
static var MODE_GAME_IN_TITLE = 0;
static var MODE_GAME_IN_TITLE_WAIT = 1;
static var MODE_GAME_IN_STAGESTART = 2;
static var MODE_GAME_IN_STAGESTART_WAIT = 3;
static var MODE_GAME_IN_GAMEOVER = 4;
static var MODE_GAME_IN_GAMEOVER_WAIT = 5;
static var MODE_GAME_IN_FLOORCLEAR = 6;
static var MODE_GAME_IN_FLOORCLEAR_WAIT = 7;
static var MODE_GAME_IN_STAGECLEAR = 8;
static var MODE_GAME_IN_STAGECLEAR_WAIT = 9;
static var MODE_GAME_IN_GAMECLEAR = 10;
static var MODE_GAME_IN_GAMECLEAR_WAIT = 11;
static var MODE_GAME_NOW = 12;
static var MODE_GAME_NOW_WAIT = 13;
static var MODE_GAME_END_GAMEOVER = 14;
static var MODE_GAME_END_GAMEOVER_WAIT = 15;
static var MODE_GAME_END_GAMECLEAR = 16;
static var MODE_GAME_END_GAMECLEAR_WAIT = 17;
static var MODE_GAME_END = 18;
static var MODE_GAME_END_WAIT = 19;
static var MODE_END = 20;
}
Symbol 3170 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskGameOver] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskGameOver extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Mask
{
var m_mc, m_context;
function MaskGameOver (context, targetMC, x, y, time, auto, maskPos) {
super(context, targetMC, 0, 4096, time, auto);
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(maskPos, "MaskGameOverAnimeMC", "MaskGameOverAnime", m_context.getBase());
m_mc._x = x;
m_mc._y = y;
m_mc.gotoAndStop(1);
}
function setPosition(x, y) {
m_mc._x = x;
m_mc._y = y;
}
}
Symbol 3171 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowFloorClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowFloorClear extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowFloorClear (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_FLOORCLEAR, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(true);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuFloorClear(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT) {
m_result = eventID;
}
}
}
Symbol 3172 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuFloorClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuFloorClear extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_count, m_mode, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_y, m_wl, m_mc, m_context, m_isWait;
function MenuFloorClear (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_count = 0;
m_mode = MODE_MENU_IN;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
Key.addListener(this);
Mouse.addListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.append(this);
}
function move() {
switch (m_mode) {
case MODE_MENU_IN :
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, "MenuFloorClearMC", "MenuFloorClear", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
m_mc._visible = true;
m_mode = MODE_MENU_IN_WAIT;
m_count = 0;
break;
case MODE_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count <= IN_FALL_TIME) {
m_y = ((m_count * jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT) / IN_FALL_TIME) - (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2);
} else {
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_FLOORCLEAR_IN_END, undefined);
m_mode = MODE_MENU;
m_preFlow.destroy();
}
break;
case MODE_MENU :
m_mode = MODE_MENU_WAIT;
m_count = 0;
break;
case MODE_MENU_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (moveMenu()) {
m_mode = MODE_MENU_OUT;
m_count = 0;
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
}
break;
case MODE_MENU_OUT :
if (!m_isWait) {
m_count = 0;
m_mode = MODE_MENU_OUT_WAIT;
}
break;
case MODE_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count <= OUT_FALL_TIME) {
m_y = ((m_count * jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT) / IN_FALL_TIME) + (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2);
} else {
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN_END);
m_mode = MODE_END;
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveMenu() {
var _local2 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
if (m_checkMouseClick) {
_local2 = 0;
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_ENTER) {
_local2 = 0;
}
}
if (m_count >= MENU_AUTO_TIME) {
_local2 = 0;
}
return(_local2 != -1);
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
m_mc._y = m_y;
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
function onKeyDown() {
var _local2 = Key.getCode();
if (_local2 == 38) {
m_keyAction = KEY_UP;
}
if (_local2 == 40) {
m_keyAction = KEY_DOWN;
}
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function onSceneGraphEvent(eventID, param) {
if (!(eventID === jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN)) {
} else {
m_isWait = false;
}
}
static var FADE_TIME = 1000;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var MODE_MENU_IN = 0;
static var MODE_MENU_IN_WAIT = 1;
static var MODE_MENU = 2;
static var MODE_MENU_WAIT = 3;
static var MODE_MENU_OUT = 4;
static var MODE_MENU_OUT_WAIT = 5;
static var MODE_END = 6;
static var IN_FALL_TIME = 300;
static var OUT_FALL_TIME = 300;
static var MENU_AUTO_TIME = 500;
}
Symbol 3173 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowStageClear extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowStageClear (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_STAGECLEAR, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(true);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageClear(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT) {
m_result = eventID;
}
}
}
Symbol 3174 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuStageClear extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_count, m_mode, m_menuIdx, m_displayMode, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_y, m_mcScore, m_mcStage, m_wl, m_mc, m_context, m_mcMask, m_isWait, m_btnMcList, m_nextMenuIdx, m_mcCursor;
function MenuStageClear (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_count = 0;
m_mode = MODE_MENU_IN;
m_menuIdx = MENU_NEXTSTAGE;
m_displayMode = DISPLAY_NONE;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
m_mcScore = undefined;
m_mcStage = undefined;
Key.addListener(this);
Mouse.addListener(this);
initCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.append(this);
}
function move() {
switch (m_mode) {
case MODE_MENU_IN :
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, "MenuStageClearMC", "MenuStageClear", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
m_mc._visible = true;
m_mc.stageBtn._visible = (m_mc.clearBtn._visible = (m_mc.scoreBtn._visible = (m_mc.nextBtn._visible = (m_mc.Select._visible = false))));
m_mode = MODE_MENU_IN_WAIT;
m_count = 0;
createCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playMusic("Ending");
break;
case MODE_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count <= IN_BOUND1_TIME) {
var _local4;
_local4 = 480 / Math.pow(IN_BOUND1_TIME, 2);
m_y = ((_local4 * Math.pow(m_count, 2)) + (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2)) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
} else if (m_count <= (IN_BOUND1_TIME + IN_BOUND2_TIME)) {
var _local2;
var _local3;
var _local5;
var _local6;
_local2 = m_count - IN_BOUND1_TIME;
_local3 = (9.8 * IN_BOUND2_TIME) / 2;
_local5 = ((_local3 * IN_BOUND2_TIME) / 2) - ((4.9 * (IN_BOUND2_TIME / 2)) * (IN_BOUND2_TIME / 2));
_local6 = (_local3 * _local2) - ((4.9 * _local2) * _local2);
m_y = (((-_local6) / _local5) * 100) + (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2);
} else {
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STAGECLEAR_IN_END, undefined);
m_mode = MODE_MENU;
m_preFlow.destroy();
}
break;
case MODE_MENU :
m_mc.stageBtn._visible = (m_mc.clearBtn._visible = (m_mc.scoreBtn._visible = (m_mc.nextBtn._visible = (m_mc.Select._visible = true))));
m_mcScore = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 16, 56, 0, 10, "Normal", m_mc);
m_mcScore.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getScore());
m_mcStage = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 56, -24, 0, 1, "Normal", m_mc);
m_mcStage.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getStageNum() + 1);
initMenu();
m_mode = MODE_MENU_WAIT;
m_displayMode = DISPLAY_MENU;
m_count = 0;
break;
case MODE_MENU_WAIT :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (moveMenu()) {
m_mode = MODE_MENU_OUT;
m_mcMask = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskDiamond(m_context, m_mc, 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_STAGESTART_TIME, false, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMCDepth());
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
hideCursor();
destroyCursor();
}
break;
case MODE_MENU_OUT :
if (!m_isWait) {
m_mcMask.attach();
m_count = 0;
m_mode = MODE_MENU_OUT_WAIT;
}
break;
case MODE_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_STAGESTART_TIME) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN_END);
m_mode = MODE_END;
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveMenu() {
var _local6 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local5;
var _local4;
var _local3;
_local4 = m_mc._xmouse;
_local3 = m_mc._ymouse;
_local5 = -1;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
showCursor(_local4, _local3);
_local5 = _local2;
break;
}
_local2--;
}
if (_local5 != -1) {
if (m_checkMouseClick) {
_local6 = _local5;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
} else if (m_menuIdx != _local5) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_menuIdx = _local5;
} else {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_DOWN) {
m_menuIdx++;
if (m_menuIdx > MENU_MAX) {
m_menuIdx = 0;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_UP) {
m_menuIdx--;
if (m_menuIdx < 0) {
m_menuIdx = MENU_MAX;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_ENTER) {
_local6 = m_menuIdx;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
hideCursor();
}
if (_local6 != -1) {
if (!(_local6 === MENU_NEXTSTAGE)) {
} else {
m_nextMenuIdx = _local6;
}
}
return(_local6 != -1);
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
m_mc._y = m_y;
if (m_displayMode == DISPLAY_MENU) {
_local2 = m_btnMcList[m_menuIdx];
m_mc.Select._y = _local2._y;
}
if (m_mcScore != undefined) {
m_mcScore.disp();
}
if (m_mcStage != undefined) {
m_mcStage.disp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
destroyCursor();
if (m_mcScore != undefined) {
m_mcScore.destroy();
}
if (m_mcStage != undefined) {
m_mcStage.destroy();
}
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
function onKeyDown() {
var _local2 = Key.getCode();
if (_local2 == 38) {
m_keyAction = KEY_UP;
}
if (_local2 == 40) {
m_keyAction = KEY_DOWN;
}
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function initMenu() {
m_btnMcList = [];
m_btnMcList.push(m_mc.nextBtn);
}
function hitCheck(btnIdx, x, y) {
var _local2 = m_btnMcList[btnIdx];
return(hitCheckMC(_local2, x, y));
}
function hitCheckMC(mcb, x, y) {
if (((((mcb._x - (mcb._width / 2)) <= x) && ((mcb._x + (mcb._width / 2)) >= x)) && ((mcb._y - (mcb._height / 2)) <= y)) && ((mcb._y + (mcb._height / 2)) >= y)) {
return(true);
}
return(false);
}
function initCursor() {
m_mcCursor = undefined;
}
function createCursor() {
if (m_mcCursor != undefined) {
destroyCursor();
}
m_mcCursor = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "CursorMC", "Cursor", m_context.getBase());
m_mcCursor._visible = false;
}
function destroyCursor() {
if (m_mcCursor != undefined) {
m_mcCursor.removeMovieClip();
m_mcCursor = undefined;
}
}
function showCursor(x, y) {
var _local2 = m_mcCursor;
_local2._x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2) + x;
_local2._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + y;
_local2._visible = true;
Mouse.hide();
}
function hideCursor() {
var _local2 = m_mcCursor;
_local2._visible = false;
Mouse.show();
}
function onSceneGraphEvent(eventID, param) {
if (!(eventID === jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STORY_IN)) {
} else {
m_isWait = false;
}
}
static var FADE_TIME = 1000;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var MODE_MENU_IN = 0;
static var MODE_MENU_IN_WAIT = 1;
static var MODE_MENU = 2;
static var MODE_MENU_WAIT = 3;
static var MODE_MENU_OUT = 4;
static var MODE_MENU_OUT_WAIT = 5;
static var MODE_END = 6;
static var DISPLAY_NONE = 0;
static var DISPLAY_MENU = 1;
static var MENU_NEXTSTAGE = 0;
static var MENU_MAX = 0;
static var IN_BOUND1_TIME = 300;
static var IN_BOUND2_TIME = 300;
}
Symbol 3175 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameOver] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameOver extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowGameOver (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_GAMEOVER, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(false);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameOver(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (((eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_TITLE) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE)) || (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT)) {
m_result = eventID;
}
}
}
Symbol 3176 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameOver] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameOver extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_count, m_mode, m_menuIdx, m_displayMode, m_mcScore, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_wl, m_context, m_mc, m_isWait, m_nextMenuIdx, m_mcMask, m_btnMcList, m_mcCursor;
function MenuGameOver (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_count = 0;
m_mode = MODE_MENU_IN;
m_menuIdx = MENU_CONTINUE;
m_displayMode = DISPLAY_NONE;
m_mcScore = undefined;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.appendWithAttr(this, m_context.getAttr());
Key.addListener(this);
Mouse.addListener(this);
initCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
}
function move() {
switch (m_mode) {
case MODE_MENU_IN :
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, "MenuGameOverMC", "MenuGameOver", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
m_mc._visible = true;
m_mc.scoreBtn._visible = (m_mc.titleBtn._visible = (m_mc.continueBtn._visible = (m_mc.rankingBtn._visible = (m_mc.Select._visible = false))));
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAMEOVER_IN, undefined);
m_isWait = true;
m_mode = MODE_MENU_IN_WAIT;
createCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playMusic("GameOver");
break;
case MODE_MENU_IN_WAIT :
if (!m_isWait) {
m_mode = MODE_MENU;
m_count = 0;
m_preFlow.destroy();
}
break;
case MODE_MENU :
m_mc.scoreBtn._visible = (m_mc.titleBtn._visible = (m_mc.continueBtn._visible = (m_mc.Select._visible = true)));
m_mc.rankingBtn._visible = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode();
m_mcScore = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, 16, -40, 0, 10, "Normal", m_mc);
m_mcScore.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getScore());
initMenu();
m_mode = MODE_MENU_WAIT;
m_displayMode = DISPLAY_MENU;
m_count = 0;
break;
case MODE_MENU_WAIT :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (moveMenu()) {
switch (m_nextMenuIdx) {
case MENU_TITLE :
m_isWait = true;
m_mode = MODE_MENU_OUT_TITLE;
m_nowFlow.event(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_TITLE);
break;
case MENU_CONTINUE :
m_mcMask = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMC(), 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME, false, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMCDepth());
m_isWait = true;
m_mode = MODE_MENU_OUT_GAME;
m_nowFlow.event(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_CONTINUE);
break;
}
hideCursor();
destroyCursor();
}
break;
case MODE_MENU_OUT_TITLE :
if (!m_isWait) {
m_mode = MODE_MENU_OUT_TITLE_WAIT;
m_count = 0;
}
break;
case MODE_MENU_OUT_TITLE_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_TITLE_TIME) {
m_mode = MODE_END;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_TITLE_IN_END, undefined);
}
break;
case MODE_MENU_OUT_GAME :
if (!m_isWait) {
m_mcMask.attach();
m_mode = MODE_MENU_OUT_GAME_WAIT;
m_count = 0;
}
break;
case MODE_MENU_OUT_GAME_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getRate();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME) {
m_mode = MODE_END;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN_END, undefined);
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveMenu() {
var _local6 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local5;
var _local4;
var _local3;
_local4 = m_mc._xmouse;
_local3 = m_mc._ymouse;
_local5 = -1;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
showCursor(_local4, _local3);
_local5 = _local2;
break;
}
_local2--;
}
if (_local5 != -1) {
if (m_checkMouseClick) {
_local6 = _local5;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
} else if (m_menuIdx != _local5) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_menuIdx = _local5;
} else {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_DOWN) {
m_menuIdx++;
if (m_menuIdx > (MENU_MAX - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode() ? 0 : 1))) {
m_menuIdx = 0;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_UP) {
m_menuIdx--;
if (m_menuIdx < 0) {
m_menuIdx = MENU_MAX - (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode() ? 0 : 1);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_ENTER) {
_local6 = m_menuIdx;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
hideCursor();
}
if (_local6 != -1) {
switch (_local6) {
case MENU_TITLE :
case MENU_CONTINUE :
m_nextMenuIdx = _local6;
break;
case MENU_RANKING :
var _local7 = new jp.bambooshootdesign.app.heavymetalgirl.highscore.HeavyMetalGirlHighscore();
_local7.setScore(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getScore());
_local7.connectHighscore(com.shockwave.sys.HighscoreSystem.FT_SUBMIT);
_local6 = -1;
}
}
return(_local6 != -1);
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
if (m_displayMode == DISPLAY_MENU) {
_local2 = m_btnMcList[m_menuIdx];
m_mc.Select._y = _local2._y;
}
if (m_mcScore != undefined) {
m_mcScore.disp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
destroyCursor();
if (m_mcScore != undefined) {
m_mcScore.destroy();
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
m_mc.removeMovieClip();
}
function onKeyDown() {
var _local2 = Key.getCode();
if (_local2 == 38) {
m_keyAction = KEY_UP;
}
if (_local2 == 40) {
m_keyAction = KEY_DOWN;
}
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function initMenu() {
m_btnMcList = [];
m_btnMcList.push(m_mc.titleBtn);
m_btnMcList.push(m_mc.continueBtn);
if (jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.GameMode.isRankingMode()) {
m_btnMcList.push(m_mc.rankingBtn);
}
}
function hitCheck(btnIdx, x, y) {
var _local2 = m_btnMcList[btnIdx];
return(hitCheckMC(_local2, x, y));
}
function hitCheckMC(mcb, x, y) {
if (((((mcb._x - (mcb._width / 2)) <= x) && ((mcb._x + (mcb._width / 2)) >= x)) && ((mcb._y - (mcb._height / 2)) <= y)) && ((mcb._y + (mcb._height / 2)) >= y)) {
return(true);
}
return(false);
}
function initCursor() {
m_mcCursor = undefined;
}
function createCursor() {
if (m_mcCursor != undefined) {
destroyCursor();
}
m_mcCursor = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "CursorMC", "Cursor", m_context.getBase());
m_mcCursor._visible = false;
}
function destroyCursor() {
if (m_mcCursor != undefined) {
m_mcCursor.removeMovieClip();
m_mcCursor = undefined;
}
}
function showCursor(x, y) {
var _local2 = m_mcCursor;
_local2._x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2) + x;
_local2._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + y;
_local2._visible = true;
Mouse.hide();
}
function showCursor2(x, y) {
var _local2 = m_mcCursor;
_local2._x = x;
_local2._y = y;
_local2._visible = true;
Mouse.hide();
}
function hideCursor() {
var _local2 = m_mcCursor;
_local2._visible = false;
Mouse.show();
}
function onSceneGraphEvent(eventID, param) {
switch (eventID) {
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAMEOVER_IN_END :
m_isWait = false;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_TITLE_IN :
m_isWait = false;
break;
case jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN :
m_isWait = false;
}
}
static var FADE_TIME = 1000;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var MODE_MENU_IN = 0;
static var MODE_MENU_IN_WAIT = 1;
static var MODE_MENU = 2;
static var MODE_MENU_WAIT = 3;
static var MODE_MENU_OUT = 4;
static var MODE_MENU_OUT_WAIT = 5;
static var MODE_END = 6;
static var MODE_MENU_OUT_TITLE = 7;
static var MODE_MENU_OUT_TITLE_WAIT = 8;
static var MODE_MENU_OUT_GAME = 9;
static var MODE_MENU_OUT_GAME_WAIT = 10;
static var DISPLAY_NONE = 0;
static var DISPLAY_MENU = 1;
static var MENU_TITLE = 0;
static var MENU_CONTINUE = 1;
static var MENU_RANKING = 2;
static var MENU_MAX = 2;
static var MASK_TITLE_TIME = 500;
}
Symbol 3177 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.flow.FlowGameClear extends jp.bambooshootdesign.app.heavymetalgirl.flow.Flow implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_context, m_mode, m_preFlow, m_isDestroy, m_result;
function FlowGameClear (preFlow) {
super(jp.bambooshootdesign.app.heavymetalgirl.flow.Flow.FM_GAMECLEAR, preFlow);
jp.bambooshootdesign.util.MovieClipFactory.setHighDepth(true);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
new jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameClear(m_context, this, preFlow);
}
function move(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.move(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callMove();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callCtrl();
}
}
function disp(mode) {
if (mode == m_mode) {
if (!m_preFlow.isDestroy()) {
m_preFlow.disp(m_mode);
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDisp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.callDestroyByAttr(m_context.getAttr());
m_isDestroy = true;
}
function onSceneGraphEvent(eventID, param) {
if (eventID == jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT) {
m_result = eventID;
}
}
}
Symbol 3178 MovieClip [__Packages.jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameClear] Frame 0
class jp.bambooshootdesign.app.heavymetalgirl.enemy.MenuGameClear extends jp.bambooshootdesign.app.heavymetalgirl.enemy.Enemy implements jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraphListener
{
var m_nowFlow, m_preFlow, m_count, m_mode, m_menuIdx, m_displayMode, m_checkMouseClick, m_checkMouseMove, m_keyAction, m_y, m_mcScore, m_wl, m_mc, m_context, m_mcMask, m_isWait, m_btnMcList, m_nextMenuIdx, m_mcCursor;
function MenuGameClear (context, nowFlow, preFlow) {
super(context);
m_nowFlow = nowFlow;
m_preFlow = preFlow;
m_count = 0;
m_mode = MODE_MENU_IN;
m_menuIdx = MENU_NEXTSTAGE;
m_displayMode = DISPLAY_NONE;
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
m_y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
m_mcScore = undefined;
Key.addListener(this);
Mouse.addListener(this);
initCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.addListener(this);
m_wl = jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.append(this);
}
function move() {
switch (m_mode) {
case MODE_MENU_IN :
m_mc = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_BACKGROUND, "MenuGameClearMC", "MenuGameClear", m_context.getBase());
m_mc._x = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2;
m_mc._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
m_mc._visible = true;
m_mc.clearBtn._visible = (m_mc.scoreBtn._visible = (m_mc.nextBtn._visible = (m_mc.Select._visible = false)));
m_mode = MODE_MENU_IN_WAIT;
m_count = 0;
createCursor();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playMusic("Ending");
break;
case MODE_MENU_IN_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count <= IN_BOUND1_TIME) {
var _local4;
_local4 = 480 / Math.pow(IN_BOUND1_TIME, 2);
m_y = ((_local4 * Math.pow(m_count, 2)) + (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2)) - jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT;
} else if (m_count <= (IN_BOUND1_TIME + IN_BOUND2_TIME)) {
var _local2;
var _local3;
var _local5;
var _local6;
_local2 = m_count - IN_BOUND1_TIME;
_local3 = (9.8 * IN_BOUND2_TIME) / 2;
_local5 = ((_local3 * IN_BOUND2_TIME) / 2) - ((4.9 * (IN_BOUND2_TIME / 2)) * (IN_BOUND2_TIME / 2));
_local6 = (_local3 * _local2) - ((4.9 * _local2) * _local2);
m_y = (((-_local6) / _local5) * 100) + (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2);
} else {
m_y = jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_STAGECLEAR_IN_END, undefined);
m_mode = MODE_MENU;
m_preFlow.destroy();
}
break;
case MODE_MENU :
m_mc.clearBtn._visible = (m_mc.scoreBtn._visible = (m_mc.nextBtn._visible = (m_mc.Select._visible = true)));
m_mcScore = new jp.bambooshootdesign.app.heavymetalgirl.enemy.GraphicNumber(m_context, -112, -24, 0, 10, "Normal", m_mc);
m_mcScore.setValue(jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getScore());
initMenu();
m_mode = MODE_MENU_WAIT;
m_displayMode = DISPLAY_MENU;
m_count = 0;
break;
case MODE_MENU_WAIT :
if (m_count == 0) {
m_checkMouseMove = true;
}
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (moveMenu()) {
m_mode = MODE_MENU_OUT;
m_mcMask = new jp.bambooshootdesign.app.heavymetalgirl.enemy.MaskNormal(m_context, m_mc, 4096, 0, jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME, false, jp.bambooshootdesign.util.MovieClipFactory.getCurrentMCDepth());
m_isWait = true;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_FLOW_NEXT);
hideCursor();
destroyCursor();
}
break;
case MODE_MENU_OUT :
if (!m_isWait) {
m_mcMask.attach();
m_count = 0;
m_mode = MODE_MENU_OUT_WAIT;
}
break;
case MODE_MENU_OUT_WAIT :
m_count = m_count + jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.getSpeed();
if (m_count >= jp.bambooshootdesign.app.heavymetalgirl.enemy.Menu.MASK_GAME_TIME) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.onEvent(jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN_END);
m_mode = MODE_END;
}
break;
case MODE_END :
}
m_checkMouseClick = false;
m_checkMouseMove = false;
m_keyAction = -1;
return(true);
}
function moveMenu() {
var _local6 = -1;
if (m_checkMouseMove || (m_checkMouseClick)) {
var _local2;
var _local5;
var _local4;
var _local3;
_local4 = m_mc._xmouse;
_local3 = m_mc._ymouse;
_local5 = -1;
_local2 = m_btnMcList.length - 1;
while (_local2 >= 0) {
if (hitCheck(_local2, _local4, _local3)) {
showCursor(_local4, _local3);
_local5 = _local2;
break;
}
_local2--;
}
if (_local5 != -1) {
if (m_checkMouseClick) {
_local6 = _local5;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
} else if (m_menuIdx != _local5) {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
}
m_menuIdx = _local5;
} else {
hideCursor();
}
}
if (m_keyAction != -1) {
if (m_keyAction == KEY_DOWN) {
m_menuIdx++;
if (m_menuIdx > MENU_MAX) {
m_menuIdx = 0;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_UP) {
m_menuIdx--;
if (m_menuIdx < 0) {
m_menuIdx = MENU_MAX;
}
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("MoveMenu");
} else if (m_keyAction == KEY_ENTER) {
_local6 = m_menuIdx;
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SoundManager.playSE("SelectMenu");
}
hideCursor();
}
if (_local6 != -1) {
if (!(_local6 === MENU_NEXTSTAGE)) {
} else {
m_nextMenuIdx = _local6;
}
}
return(_local6 != -1);
}
function ctrl() {
return(true);
}
function disp() {
var _local2;
m_mc._y = m_y;
if (m_displayMode == DISPLAY_MENU) {
_local2 = m_btnMcList[m_menuIdx];
m_mc.Select._y = _local2._y;
}
if (m_mcScore != undefined) {
m_mcScore.disp();
}
}
function destroy() {
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.SceneGraph.removeListener(this);
Key.removeListener(this);
Mouse.removeListener(this);
destroyCursor();
if (m_mcScore != undefined) {
m_mcScore.destroy();
}
m_mc.removeMovieClip();
jp.bambooshootdesign.app.heavymetalgirl.sys.SysInfo.WorkList.cut(m_wl);
delete m_wl;
}
function onKeyDown() {
var _local2 = Key.getCode();
if (_local2 == 38) {
m_keyAction = KEY_UP;
}
if (_local2 == 40) {
m_keyAction = KEY_DOWN;
}
if ((_local2 == 13) || (_local2 == 108)) {
m_keyAction = KEY_ENTER;
}
}
function onKeyup() {
}
function onMouseDown() {
m_checkMouseClick = true;
}
function onMouseMove() {
m_checkMouseMove = true;
}
function onMouseUp() {
}
function onMouseWheel() {
}
function initMenu() {
m_btnMcList = [];
m_btnMcList.push(m_mc.nextBtn);
}
function hitCheck(btnIdx, x, y) {
var _local2 = m_btnMcList[btnIdx];
return(hitCheckMC(_local2, x, y));
}
function hitCheckMC(mcb, x, y) {
if (((((mcb._x - (mcb._width / 2)) <= x) && ((mcb._x + (mcb._width / 2)) >= x)) && ((mcb._y - (mcb._height / 2)) <= y)) && ((mcb._y + (mcb._height / 2)) >= y)) {
return(true);
}
return(false);
}
function initCursor() {
m_mcCursor = undefined;
}
function createCursor() {
if (m_mcCursor != undefined) {
destroyCursor();
}
m_mcCursor = jp.bambooshootdesign.util.MovieClipFactory.createWithBase(jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.OT_STATUS, "CursorMC", "Cursor", m_context.getBase());
m_mcCursor._visible = false;
}
function destroyCursor() {
if (m_mcCursor != undefined) {
m_mcCursor.removeMovieClip();
m_mcCursor = undefined;
}
}
function showCursor(x, y) {
var _local2 = m_mcCursor;
_local2._x = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.WIDTH / 2) + x;
_local2._y = (jp.bambooshootdesign.app.heavymetalgirl.sys.Screen.HEIGHT / 2) + y;
_local2._visible = true;
Mouse.hide();
}
function showCursor2(x, y) {
var _local2 = m_mcCursor;
_local2._x = x;
_local2._y = y;
_local2._visible = true;
Mouse.hide();
}
function hideCursor() {
var _local2 = m_mcCursor;
_local2._visible = false;
Mouse.show();
}
function onSceneGraphEvent(eventID, param) {
if (!(eventID === jp.bambooshootdesign.app.heavymetalgirl.sys.SceneGraph.EID_SC_GAME_IN)) {
} else {
m_isWait = false;
}
}
static var FADE_TIME = 1000;
static var KEY_DOWN = 1;
static var KEY_UP = 2;
static var KEY_ENTER = 3;
static var MODE_MENU_IN = 0;
static var MODE_MENU_IN_WAIT = 1;
static var MODE_MENU = 2;
static var MODE_MENU_WAIT = 3;
static var MODE_MENU_OUT = 4;
static var MODE_MENU_OUT_WAIT = 5;
static var MODE_END = 6;
static var DISPLAY_NONE = 0;
static var DISPLAY_MENU = 1;
static var MENU_NEXTSTAGE = 0;
static var MENU_MAX = 0;
static var IN_BOUND1_TIME = 300;
static var IN_BOUND2_TIME = 300;
}