Information about object: obj_eagle

Sprite: spr_eagle
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_enemy
Children:
Mask:
No Physics Object
Create Event:
execute code: image_speed=1/6 time=0//๋ณด์Šค ์ƒ์„ฑํ›„ ๊ฑธ๋ฆฐ์‹œ๊ฐ„ phase=0 pattern=0//ํ˜„์žฌํŒจํ„ด patterntime=0//ํŒจํ„ด์„ ์ˆ˜ํ–‰ํ•˜๋Š” ์‹œ๊ฐ„ act=0//ํ–‰๋™์ค‘์ธ์ง€ ๊ตฌ๋ถ„ position=1//์™ผ์ชฝ์— ์žˆ์„๋–„ 0,์˜ค๋ฅธ์ชฝ์— ์žˆ์„๋–„ 1 hp=150//๋ณด์Šค์˜ ์ฒด๋ ฅ patterncounter=0 pat_feather=1 pat_rush=2 pat_wind=3 pat_baby=4 pat_noise=5 pat_ruush=6 apattern[pat_feather]=90 apattern[pat_rush]=180 apattern[pat_wind]=330 apattern[pat_baby]=60 apattern[pat_noise]=30 apattern[pat_ruush]=660 apatternorder[0]=0 apatternorder[1]=0 apatternorder[2]=0 apatternorder[3]=0
Alarm Event for alarm 0:
execute code: act=0

Step Event:
execute code: time+=1//ํƒ€์ด๋จธ if(time=60)phase=1 if(phase==1&&act==0)//1ํŽ˜์ด์ฆˆ์˜ ํŒจํ„ด { if(pattern=3) pattern=1 else pattern+=1//ํŒจํ„ด1~3์ˆ˜ํ–‰ patterntime=apattern[pattern]//ํ˜„์žฌํŒจํ„ด์— ๋”ฐ๋ผ ์ˆ˜ํ–‰์‹œ๊ฐ„ ์„ค์ • if(pattern=1)timeline_index=timeline_boss2_feather//๊นƒํ„ธ if(pattern=2)timeline_index=timeline_boss2_rush//๋Œ์ง„ if(pattern=3)timeline_index=timeline_boss2_wind//๋ฐ”๋žŒ timeline_position=0 timeline_running=true timeline_loop=false act=1 alarm[0]=patterntime } if(hp=120&&phase==1)phase=2 if(phase==2&&act==0) { timeline_index=timeline_boss2_ruush timeline_position=0 timeline_running=true timeline_loop=false act=1 alarm[0]=apattern[pat_ruush] phase=3 } if(phase==3&&act==0) { if(patterncounter==0) { for(i=0;i<3;i+=1) { apatternorder[i]=random(2) for(j=0;j<i;j+=1) { if(apatternorder[i]==apatternorder[j])i-=1 break } } } patterntime=apattern[apatternorder[patterncounter]+1] if(apatternorder[patterncounter]==0) timeline_index=timeline_boss2_feather if(apatternorder[patterncounter]==1) timeline_index=timeline_boss2_rush if(apatternorder[patterncounter]==2) timeline_index=timeline_boss2_wind timeline_position=0 timeline_running=true timeline_loop=false patterncounter+=1 if(patterncounter>2)patterncounter=0 act=1 alarm[0]=patterntime } if(position=1)image_xscale=-1//๋ณด์Šค์˜ ์œ„์น˜์— ๋”ฐ๋ผ ์ขŒ์šฐ๋ฐ˜์ „ else image_xscale=1 if(position>1||position<0)position=0

์—ฌ๊ธฐ์—์„œ ์Šคํ…์ด๋ฒคํŠธ์—์„œ phase 2์—์„œ 3์œผ๋กœ ๋„˜์–ด๊ฐˆ๋•Œ ๋ฒ„๊ทธ๊ฐ€์ƒ๊น€


์–ด๋–ค๋ฒ„๊ทธ๋ƒ๋จผ ํŽ˜์ด์ฆˆ3์œผ๋กœ ๋„˜์–ด๊ฐ€๋ฉด ๊ฑฐ๊ธฐ์— ์žˆ๋Š” ํƒ€์ž„๋ผ์ธ์ด ์‹คํ–‰๋˜์•ผํ•˜๋Š”๋ฐ ์•ˆ๋˜๊ณ  ํŽ˜์ด์ฆˆ2์— ์žˆ๋Š” ํƒ€์ž„๋ผ์ธ์ด ๊ณ„์† ์‹คํ–‰๋œ๋‹ค


์ด๊ฑฐ ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ• ์ง€ ๊ฐ์ด ์•ˆ์žกํžˆ๋Š”๋ฐ ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ•˜๋ƒ;;