Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.57 KB | None | 0 0
  1. class 1 coffer_of_the_dead : citizen
  2. handler 4 466 // TALK_SELECTED
  3. variable_begin
  4. "fhtml0"
  5. "talker"
  6. "myself"
  7. "_choiceN"
  8. "_code"
  9. "_from_choice"
  10. variable_end
  11.  
  12. push_event // _from_choice
  13. push_const 544
  14. add
  15. fetch_i4
  16. push_const 0
  17. equal
  18. branch_false L2
  19. L1
  20. push_event // talker
  21. push_const 40
  22. add
  23. fetch_i // level
  24. push_const 1092
  25. add
  26. fetch_i4
  27. push_const 70
  28. greater_equal
  29. push_reg_sp
  30. fetch_i
  31. branch_false L5
  32. push_event // myself
  33. push_const 704
  34. add
  35. fetch_i
  36. push_event // talker
  37. push_const 40
  38. add
  39. fetch_i
  40. push_const 4666
  41. func_call 184680579 // func[OwnItemCount]
  42. shift_sp -2
  43. push_const 0
  44. equal
  45. and
  46. L5
  47. branch_false L4
  48. L3
  49. push_event // _choiceN
  50. push_const 540
  51. add
  52. push_reg_sp
  53. fetch_i
  54. push_event // _choiceN
  55. push_const 540
  56. add
  57. fetch_i4
  58. push_const 1
  59. add
  60. assign4
  61. shift_sp -1
  62. push_event // _code
  63. push_const 536
  64. add
  65. push_reg_sp
  66. fetch_i
  67. push_const 0
  68. assign4
  69. shift_sp -1
  70. push_event // myself
  71. push_const 704
  72. add
  73. fetch_i
  74. push_const 0
  75. S0. "Fate's Whisper (Continue)"
  76. push_string S0
  77. func_call 184680640 // func[AddChoice]
  78. shift_sp -2
  79. shift_sp -1
  80. L4
  81. push_event // talker
  82. push_const 40
  83. add
  84. fetch_i // level
  85. push_const 1092
  86. add
  87. fetch_i4
  88. push_const 70
  89. greater_equal
  90. push_reg_sp
  91. fetch_i
  92. branch_false L8
  93. push_event // myself
  94. push_const 704
  95. add
  96. fetch_i
  97. push_event // talker
  98. push_const 40
  99. add
  100. fetch_i
  101. push_const 4666
  102. func_call 184680579 // func[OwnItemCount]
  103. shift_sp -2
  104. push_const 1
  105. equal
  106. and
  107. L8
  108. branch_false L7
  109. L6
  110. push_event // _choiceN
  111. push_const 540
  112. add
  113. push_reg_sp
  114. fetch_i
  115. push_event // _choiceN
  116. push_const 540
  117. add
  118. fetch_i4
  119. push_const 1
  120. add
  121. assign4
  122. shift_sp -1
  123. push_event // _code
  124. push_const 536
  125. add
  126. push_reg_sp
  127. fetch_i
  128. push_const 1
  129. assign4
  130. shift_sp -1
  131. push_event // myself
  132. push_const 704
  133. add
  134. fetch_i
  135. push_const 1
  136. S1. "Fate's Whisper (Continue)"
  137. push_string S1
  138. func_call 184680640 // func[AddChoice]
  139. shift_sp -2
  140. shift_sp -1
  141. L7
  142. push_event // _choiceN
  143. push_const 540
  144. add
  145. fetch_i4
  146. push_const 1
  147. greater
  148. branch_false L10
  149. L9
  150. push_event // myself
  151. push_const 704
  152. add
  153. fetch_i
  154. push_event // talker
  155. push_const 40
  156. add
  157. fetch_i
  158. push_const 1
  159. func_call 184680641 // func[ShowChoicePage]
  160. shift_sp -2
  161. shift_sp -1
  162. exit_handler
  163. L10
  164. L2
  165. push_event // _from_choice
  166. push_const 544
  167. add
  168. fetch_i4
  169. push_reg_sp
  170. fetch_i
  171. branch_true L13
  172. push_event // _choiceN
  173. push_const 540
  174. add
  175. fetch_i4
  176. push_const 1
  177. equal
  178. or
  179. L13
  180. branch_false L12
  181. L11
  182. push_event // _code
  183. push_const 536
  184. add
  185. fetch_i4
  186. push_reg_sp
  187. fetch_i
  188. push_const 0
  189. equal
  190. branch_false L16
  191. L15
  192. push_event // _from_choice
  193. push_const 544
  194. add
  195. fetch_i4
  196. push_const 0
  197. equal
  198. push_reg_sp
  199. fetch_i
  200. branch_true L19
  201. push_event // myself
  202. push_const 704
  203. add
  204. fetch_i
  205. push_event // talker
  206. push_const 40
  207. add
  208. fetch_i
  209. push_const 4666
  210. func_call 184680579 // func[OwnItemCount]
  211. shift_sp -2
  212. push_const 0
  213. equal
  214. or
  215. L19
  216. branch_false L18
  217. L17
  218. push_event // myself
  219. push_const 704
  220. add
  221. fetch_i
  222. push_event // talker
  223. push_const 40
  224. add
  225. fetch_i
  226. push_const 0
  227. func_call 184680556 // func[GetInventoryInfo]
  228. shift_sp -2
  229. push_event // myself
  230. push_const 704
  231. add
  232. fetch_i
  233. push_event // talker
  234. push_const 40
  235. add
  236. fetch_i
  237. push_const 1
  238. func_call 184680556 // func[GetInventoryInfo]
  239. shift_sp -2
  240. push_const 0.800000
  241. mul
  242. greater_equal
  243. push_reg_sp
  244. fetch_i
  245. branch_true L22
  246. push_event // myself
  247. push_const 704
  248. add
  249. fetch_i
  250. push_event // talker
  251. push_const 40
  252. add
  253. fetch_i
  254. push_const 2
  255. func_call 184680556 // func[GetInventoryInfo]
  256. shift_sp -2
  257. push_event // myself
  258. push_const 704
  259. add
  260. fetch_i
  261. push_event // talker
  262. push_const 40
  263. add
  264. fetch_i
  265. push_const 3
  266. func_call 184680556 // func[GetInventoryInfo]
  267. shift_sp -2
  268. push_const 0.800000
  269. mul
  270. greater_equal
  271. or
  272. L22
  273. branch_false L21
  274. L20
  275. push_event // myself
  276. push_const 704
  277. add
  278. fetch_i
  279. push_event // talker
  280. push_const 40
  281. add
  282. fetch_i
  283. push_const 1118
  284. func_call 184680517 // func[ShowSystemMessage]
  285. shift_sp -2
  286. shift_sp -1
  287. exit_handler
  288. L21
  289. push_event // myself
  290. push_const 704
  291. add
  292. fetch_i
  293. func_call 184549408 // func[GetCurrentTick]
  294. push_event // talker
  295. push_const 40
  296. add
  297. fetch_i // quest_last_reward_time
  298. push_const 772
  299. add
  300. fetch_i4
  301. sub
  302. push_const 1
  303. greater
  304. branch_false L24
  305. L23
  306. push_event // talker
  307. push_const 40
  308. add
  309. fetch_i // quest_last_reward_time
  310. push_const 772
  311. add
  312. push_reg_sp
  313. fetch_i
  314. push_event // myself
  315. push_const 704
  316. add
  317. fetch_i
  318. func_call 184549408 // func[GetCurrentTick]
  319. assign4
  320. shift_sp -1
  321. push_event // myself
  322. push_const 704
  323. add
  324. fetch_i
  325. push_event // talker
  326. push_const 40
  327. add
  328. fetch_i
  329. push_const 4666
  330. push_const 1
  331. func_call 184746111 // func[GiveItem1]
  332. shift_sp -3
  333. shift_sp -1
  334. push_event // myself
  335. push_const 704
  336. add
  337. fetch_i
  338. push_event // talker
  339. push_const 40
  340. add
  341. fetch_i
  342. S2. "coffer_of_the_dead_q0234_01.htm"
  343. push_string S2
  344. func_call 184680516 // func[ShowPage]
  345. shift_sp -2
  346. shift_sp -1
  347. L24
  348. L18
  349. jump L14
  350. jump L25
  351. L16
  352. push_reg_sp
  353. fetch_i
  354. push_const 1
  355. equal
  356. branch_false L26
  357. L25
  358. push_event // _from_choice
  359. push_const 544
  360. add
  361. fetch_i4
  362. push_const 0
  363. equal
  364. push_reg_sp
  365. fetch_i
  366. branch_true L29
  367. push_event // myself
  368. push_const 704
  369. add
  370. fetch_i
  371. push_event // talker
  372. push_const 40
  373. add
  374. fetch_i
  375. push_const 4666
  376. func_call 184680579 // func[OwnItemCount]
  377. shift_sp -2
  378. push_const 1
  379. equal
  380. or
  381. L29
  382. branch_false L28
  383. L27
  384. push_event // myself
  385. push_const 704
  386. add
  387. fetch_i
  388. push_event // talker
  389. push_const 40
  390. add
  391. fetch_i
  392. push_const 0
  393. func_call 184680556 // func[GetInventoryInfo]
  394. shift_sp -2
  395. push_event // myself
  396. push_const 704
  397. add
  398. fetch_i
  399. push_event // talker
  400. push_const 40
  401. add
  402. fetch_i
  403. push_const 1
  404. func_call 184680556 // func[GetInventoryInfo]
  405. shift_sp -2
  406. push_const 0.800000
  407. mul
  408. greater_equal
  409. push_reg_sp
  410. fetch_i
  411. branch_true L32
  412. push_event // myself
  413. push_const 704
  414. add
  415. fetch_i
  416. push_event // talker
  417. push_const 40
  418. add
  419. fetch_i
  420. push_const 2
  421. func_call 184680556 // func[GetInventoryInfo]
  422. shift_sp -2
  423. push_event // myself
  424. push_const 704
  425. add
  426. fetch_i
  427. push_event // talker
  428. push_const 40
  429. add
  430. fetch_i
  431. push_const 3
  432. func_call 184680556 // func[GetInventoryInfo]
  433. shift_sp -2
  434. push_const 0.800000
  435. mul
  436. greater_equal
  437. or
  438. L32
  439. branch_false L31
  440. L30
  441. push_event // myself
  442. push_const 704
  443. add
  444. fetch_i
  445. push_event // talker
  446. push_const 40
  447. add
  448. fetch_i
  449. push_const 1118
  450. func_call 184680517 // func[ShowSystemMessage]
  451. shift_sp -2
  452. shift_sp -1
  453. exit_handler
  454. L31
  455. push_event // myself
  456. push_const 704
  457. add
  458. fetch_i
  459. push_event // talker
  460. push_const 40
  461. add
  462. fetch_i
  463. S3. "coffer_of_the_dead_q0234_02.htm"
  464. push_string S3
  465. func_call 184680516 // func[ShowPage]
  466. shift_sp -2
  467. shift_sp -1
  468. L28
  469. jump L14
  470. jump L33
  471. L26
  472. L33
  473. L14
  474. shift_sp -1
  475. exit_handler
  476. L12
  477. call_super
  478. handler_end
  479.  
  480. handler 12 16 // TIMER_FIRED_EX
  481. variable_begin
  482. "timer_id"
  483. "myself"
  484. "_choiceN"
  485. "_code"
  486. "_from_choice"
  487. variable_end
  488.  
  489. push_event // timer_id
  490. push_const 236
  491. add
  492. fetch_i4
  493. push_const 23401
  494. equal
  495. branch_false L35
  496. L34
  497. push_event // myself
  498. push_const 704
  499. add
  500. fetch_i
  501. func_call 184549616 // func[Despawn]
  502. shift_sp -1
  503. L35
  504. call_super
  505. handler_end
  506.  
  507. handler 13 12 // CREATED
  508. variable_begin
  509. "i0"
  510. "myself"
  511. "_choiceN"
  512. "_code"
  513. "_from_choice"
  514. variable_end
  515.  
  516. push_event // myself
  517. push_const 704
  518. add
  519. fetch_i
  520. push_const 23401
  521. push_const 1000
  522. push_const 120
  523. mul
  524. func_call 184680487 // func[AddTimerEx]
  525. shift_sp -2
  526. shift_sp -1
  527. call_super
  528. handler_end
  529.  
  530. class_end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement