mirror of
https://github.com/open-goal/jak-project
synced 2026-07-31 08:16:02 -04:00
village-obs PAL patch
This commit is contained in:
@@ -28259,6 +28259,17 @@
|
||||
:flag-assert #x1e007000dc
|
||||
)
|
||||
|
||||
(deftype evilplant (process-drawable)
|
||||
()
|
||||
:method-count-assert 21
|
||||
:size-assert #xb0
|
||||
:heap-base #x40
|
||||
:flag-assert #x15004000b0
|
||||
(:methods
|
||||
(idle () _type_ :state 20)
|
||||
)
|
||||
)
|
||||
|
||||
;; - Functions
|
||||
|
||||
(define-extern set-period (function cyclegen int float))
|
||||
@@ -28292,6 +28303,7 @@
|
||||
(define-extern *med-res-village12-sg* skeleton-group)
|
||||
(define-extern *med-res-village13-sg* skeleton-group)
|
||||
(define-extern *med-res-training-sg* skeleton-group)
|
||||
(define-extern *evilplant-sg* skeleton-group)
|
||||
|
||||
|
||||
;; ----------------------
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
// if you want to filter to only some object names.
|
||||
// it will make the decompiler much faster.
|
||||
"allowed_objects": ["yakow", "village1cam-ag", "yakow-ag"],
|
||||
"allowed_objects": ["village-obs", "windmill-sail-ag", "medres-beach3-ag", "mayorgears-ag", "medres-village11-ag", "revcycleprop-ag", "medres-jungle2-ag", "revcycle-ag", "medres-misty-ag", "sagesail-ag", "windspinner-ag", "medres-jungle1-ag", "medres-village12-ag", "hutlamp-ag", "medres-jungle-ag", "medres-village13-ag", "medres-beach2-ag", "villa-starfish-ag", "medres-training-ag", "medres-beach-ag", "reflector-middle-ag", "medres-beach1-ag", "evilplant-ag"],
|
||||
"banned_objects": [],
|
||||
|
||||
////////////////////////////
|
||||
@@ -39,7 +39,7 @@
|
||||
// unpack game count to assets folder
|
||||
"process_game_count": false,
|
||||
// write goal imports for art groups
|
||||
"process_art_groups": false,
|
||||
"process_art_groups": true,
|
||||
|
||||
///////////////////////////
|
||||
// WEIRD OPTIONS
|
||||
|
||||
@@ -520,6 +520,53 @@
|
||||
(none)
|
||||
)
|
||||
|
||||
;; PAL patch here
|
||||
(deftype evilplant (process-drawable)
|
||||
()
|
||||
:heap-base #x40
|
||||
:method-count-assert 21
|
||||
:size-assert #xb0
|
||||
:flag-assert #x15004000b0
|
||||
(:methods
|
||||
(idle () _type_ :state 20)
|
||||
)
|
||||
)
|
||||
|
||||
(defmethod inspect evilplant ((obj evilplant))
|
||||
(let ((t9-0 (method-of-type process-drawable inspect)))
|
||||
(t9-0 obj)
|
||||
)
|
||||
obj
|
||||
)
|
||||
|
||||
(defskelgroup *evilplant-sg* evilplant evilplant-lod0-jg evilplant-idle-ja
|
||||
((evilplant-lod0-mg (meters 999999)))
|
||||
:bounds (static-spherem 0 1 0 3.8)
|
||||
)
|
||||
|
||||
(defstate idle (evilplant)
|
||||
:virtual #t
|
||||
:code (behavior ()
|
||||
(loop
|
||||
(ja-no-eval :group! (ja-group) :num! (seek!) :frame-num 0.0)
|
||||
(until (ja-done? 0)
|
||||
(suspend)
|
||||
(ja :num! (seek!))
|
||||
)
|
||||
)
|
||||
(none)
|
||||
)
|
||||
:post (the-as (function none :behavior evilplant) ja-post)
|
||||
)
|
||||
|
||||
(defmethod init-from-entity! evilplant ((obj evilplant) (arg0 entity-actor))
|
||||
(set! (-> obj root) (new 'process 'trsqv))
|
||||
(process-drawable-from-entity! obj arg0)
|
||||
(initialize-skeleton obj *evilplant-sg* '())
|
||||
(go (method-of-object obj idle))
|
||||
(none)
|
||||
)
|
||||
|
||||
(deftype reflector-middle (process-drawable)
|
||||
((reflector-trans vector :inline :offset-assert 176)
|
||||
(next-reflector-trans vector :inline :offset-assert 192)
|
||||
|
||||
Reference in New Issue
Block a user